slicing the date

carroll at s.cs.uiuc.edu carroll at s.cs.uiuc.edu
Thu Mar 30 03:24:00 AEST 1989


RE: Slicing the date

	I've gotten several replies, and I need to clarify something -
I have tried the '+' notation on the 'date' command to get it to format its
output. The OS running here (I believe 4.3BSD) does not accept that. Any
argument is assumed to be an attempt to *set* the date, not format it,
according to the man pages and actual use. I was moved (against my will)
from SysV to BSD, and this is something that I lost - I used to use the
date '+%H:%M:%S' format, and it doesn't work anymore. That's why I have to
slice the normal output.

Alan M. Carroll          "And then you say,
carroll at s.cs.uiuc.edu     We have the Moon, so now the Stars..."  - YES
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!s.cs.uiuc.edu!carroll



More information about the Comp.unix.questions mailing list