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
|
|