Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!s.cs.uiuc.edu!carroll From: carroll@s.cs.uiuc.edu Newsgroups: comp.unix.questions Subject: Re: slicing the date Message-ID: <216000011@s.cs.uiuc.edu> Date: 29 Mar 89 17:24:00 GMT References: <216000010@s.cs.uiuc.edu> Lines: 15 Nf-ID: #R:s.cs.uiuc.edu:216000010:s.cs.uiuc.edu:216000011:000:747 Nf-From: s.cs.uiuc.edu!carroll Mar 29 11:24:00 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@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