Re: Date doesn't like field separators

2013-10-16 Thread Denys Vlasenko
On Wednesday 25 September 2013 21:49, Jody Lee Bruchon wrote: > I am using the date command to process dates from a text file in the typical > American "mm/dd/" format. date applet would become way too big if it will attempt to support everything coreutils date does. "date --help" shows acce

Re: Date doesn't like field separators

2013-09-25 Thread Joshua Judson Rosen
On 2013-09-25 15:49, Jody Lee Bruchon wrote: I am using the date command to process dates from a text file in the typical American "mm/dd/" format. The date command chokes if I pass such a date with -d for reformatting; likewise, dashes aren't accepted at all either. I am having to pipe thr

Date doesn't like field separators

2013-09-25 Thread Jody Lee Bruchon
I am using the date command to process dates from a text file in the typical American "mm/dd/" format. The date command chokes if I pass such a date with -d for reformatting; likewise, dashes aren't accepted at all either. I am having to pipe through tr -d / before giving the date, but GNU c