[vox-tech] date question
Jeff Newmiller
jdnewmil at dcn.davis.ca.us
Thu Sep 28 08:40:02 PDT 2006
Peter Jay Salzman wrote:
> This works:
>
> $ /bin/date +'%Y-%m-%d-%H-%M'
> 2006-09-28-11-05
>
> This doesn't:
>
> $ date +'%Y-%m-%d-%H-%M'
> date: extra operand `+%Y-%m-%d-%H-%M'
> Try `date --help' for more information.
>
> Yet, "/bin/date" is the thing I'm running when using an unqualified path:
>
> $ which date
> /bin/date
>
> If /bin/date is what I'm running, why doesn't this work unless I specifiy
> "/bin/date"?
Any output from
alias | grep date
?
--
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
More information about the vox-tech
mailing list