Re: mkdir bug with -m and -p together

2008-01-16 Thread Andreas Schwab
Ariel [EMAIL PROTECTED] writes: -p does not use the mode from -m for parent directories: # mkdir -p -m 700 foo/bar # ls -ld foo foo/bar This works as documented. The -m switch only modifies the permissions of the leaf directory, the parent directories are created with only the umask taken

Re: PDT timezone bug in GNU coreutils date v6.9

2008-01-16 Thread gmane
On Tue, 15 Jan 2008 22:06:38 -0800 Paul Eggert [EMAIL PROTECTED] wrote: The actual problem is the reverse of the original complaint. Coreutils should reject a usage like 'date -d Tue Jan 14 08:25:26 EDT 2008 +%s', because that time stamp is invalid. Coreutils is not smart enough to correctly

wc -l is not working the way it should

2008-01-16 Thread Rahman, Syed A
Hi, The wc seems not working correctly, say for example wc -l filename | cut -c1-8 should only give the lines, but this your version of wc, behaves differently. for small size files it does not reserve first 8 colums for size so get the file name as well All others give this $ wc -l test.ksh |

coreutils 6.9 cp -p fails on leopard (erroneous error message)

2008-01-16 Thread Brian Biswas
I'm running coreutils 6.9 on leopard 10.5.1. % cp file1 file2 works correctly. However: % cp -p file1 file2 cp: 'file1' no such file or directory What's really strange is that the cp ***does*** correctly occur (with permissions being preserved). Why the error message?

Re: wc -l is not working the way it should

2008-01-16 Thread Steven Schubiger
Rahman, Syed A [EMAIL PROTECTED] wrote: The wc seems not working correctly, say for example wc -l filename | cut -c1-8 should only give the lines, but this your version of wc, behaves differently. for small size files it does not reserve first 8 colums for size so get the file name as well

Re: wc -l is not working the way it should

2008-01-16 Thread Bob Proulx
Rahman, Syed A wrote: The wc seems not working correctly, say for example wc -l filename | cut -c1-8 should only give the lines, but this your version of wc, behaves differently. for small size files it does not reserve first 8 colums for size so get the file name as well Thank you for the