由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - how to find the date of today in UNIX?
... ?
相关主题
How to Parsing function in haskell?怎么样用 C Parse HTML?
parsing bibliography and sorting (转载)Smart Parser/Compiler Development
问java api的问题求教Code
parsing file in node: js or python ?如何下载网络页面,不包含,
请教一个parser的问题how to count the times a function is used
regular expression的一个问题How to user Perl to handle object on client side?
A very dump c++ questionc++ 中如何把str转换为float?
谁知道如何调试yacc程序?python 问题
相关话题的讨论汇总
话题: unix话题: date话题: today话题: find话题: fri
进入Programming版参与讨论
1 (共1页)
s*****i
发帖数: 650
1
Hi, there?
if I type date in unix:
i get:
Fri Apr 29 11:11:11 EDT 2005
how to get "Fri" only out?
thx.
b********n
发帖数: 609
2
no way to get only friday. write a program to parse the rest out.

【在 s*****i 的大作中提到】
: Hi, there?
: if I type date in unix:
: i get:
: Fri Apr 29 11:11:11 EDT 2005
: how to get "Fri" only out?
: thx.

t*******y
发帖数: 57
3
hoho,多灌一篇充数
date +%a

【在 b********n 的大作中提到】
: no way to get only friday. write a program to parse the rest out.
f*****e
发帖数: 57
4
I alway use awk.
date | awk '{print $1;}'
br />

【在 t*******y 的大作中提到】
: hoho,多灌一篇充数
: date +%a

1 (共1页)
进入Programming版参与讨论
... ?
相关主题
python 问题请教一个parser的问题
Question: automatically download website dataregular expression的一个问题
[合集] IDE vs vim+cscopeA very dump c++ question
有点挠头谁知道如何调试yacc程序?
How to Parsing function in haskell?怎么样用 C Parse HTML?
parsing bibliography and sorting (转载)Smart Parser/Compiler Development
问java api的问题求教Code
parsing file in node: js or python ?如何下载网络页面,不包含,
相关话题的讨论汇总
话题: unix话题: date话题: today话题: find话题: fri