[mdlug] Extracting the day of the Week in BASH
Ingles, Raymond
Raymond.Ingles at compuware.com
Fri Mar 9 15:30:50 EST 2007
> From: Robert Adkins
> Anyone know either the variable that returns the actual day of the
> week or a very short script to extract the day of the week?
date | cut -d" " -f 1
Works for me, on Linux and Solaris.
Sincerely,
Ray Ingles (313) 227-2317
"To admit that an opponent might be both honest and intelligent
is felt to be intolerable. It is more immediately satisfying to
shout that he is a fool or a scoundrel." - George Orwell
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
More information about the mdlug
mailing list