Re: Some bug in 'pwd' command

2006-05-01 Thread Olga Garber
Eric, Thanks for you responce. You're right, running '/bin/pwd' doesn't have this issue. The problem is specific to C shell. Bash and tcsh worked as expected. Best regards, Olga Garber - Original Message - From: Eric Blake [EMAIL PROTECTED] To: Olga Garber [EMAIL PROTECTED];

error in date command

2006-05-01 Thread Adam Miller
Hi, According to the man page, /bin/date +%x should report the date in the following format: mm/dd/yy However, when run in bash the command above reports the date in the following format: mm/dd/ I have been calling a bash script in through cron, which reports the date as it

Re: error in date command

2006-05-01 Thread Brian Dessent
Adam Miller wrote: According to the man page, /bin/date +%x should report the date in the following format: mm/dd/yy No it doesn't, it says it reports the date in the format appropriate to the current locale: %x locale's date representation (e.g., 12/31/99) Note that e.g. means

Re: error in date command

2006-05-01 Thread Eric Blake
According to the man page, /bin/date +%x should report the date in the following format: mm/dd/yy Thanks for the report. However, according to the man page of the latest stable version of coreutils, 5.94, %x gives the locale's date representation (e.g., 12/31/99). You may also be