pathchk fixes

2004-10-17 Thread Paul Eggert
I installed the following patch to fix some bugs in pathchk. It was easier to rewrite most of the guts rather than to fix each bug one by one, so I took the liberty of adding m'self to the credits. 2004-10-17 Paul Eggert <[EMAIL PROTECTED]> * AUTHORS: Add self to pathchk. * doc/

Re: mv fails with "Too many open files" when moving _many_ files

2004-10-17 Thread Bob Proulx
Paul Eggert wrote: > [EMAIL PROTECTED] (Bob Proulx) writes: > > I am unable to reproduce the problem locally. > > I think your attempt didn't capture all the relevant parts of the bug. You have sharp eyes! > Here's how I reproduced it Very good! Bob __

sync from gnulib to coreutils

2004-10-17 Thread Paul Eggert
I installed this to sync coreutils from gnulib: 2004-10-17 Paul Eggert <[EMAIL PROTECTED]> Sync from gnulib. * lib/diacrit.c, lib/diacrit.h: Add copyright notice. * lib/getpass.c (fflush_unlocked, flockfile, funlockfile) (fputs_unlocked, putc_unlocked) [!_LIBCS &

Re: mv fails with "Too many open files" when moving _many_ files

2004-10-17 Thread Paul Eggert
[EMAIL PROTECTED] (Bob Proulx) writes: > I am unable to reproduce the problem locally. I think your attempt didn't capture all the relevant parts of the bug. Here's how I reproduced it, both with coreutils 5.2.1 and with CVS coreutils. On my host, /tmp and /home are different file systems; this

Re: mv fails with "Too many open files" when moving _many_ files

2004-10-17 Thread Bob Proulx
Cyril Bouthors wrote: > I'm having problems when moving everything from a directory that > contains 10852 top level directories and a total of ~30+ files and > subdirectories with this command: > > # mv * ../../../webalizer-clients/ > > It fails with: > > mv: cannot create regular file > `.

mv fails with "Too many open files" when moving _many_ files

2004-10-17 Thread Cyril Bouthors
Hi, I'm having problems when moving everything from a directory that contains 10852 top level directories and a total of ~30+ files and subdirectories with this command: # mv * ../../../webalizer-clients/ It fails with: mv: cannot create regular file `../../../webalizer-clients/bouthors/us

Re: tr -d [:space:] removes the letter 'p'

2004-10-17 Thread Jim Meyering
Aizer Danny-BDA023 <[EMAIL PROTECTED]> wrote: > I have run into a weird scenario: > > echo "asdfp asdfp a" | tr -d [:space:] > > returns: > asdf asdf a > > instead of: > asdfpasdfpa You need quotes to protect the brackets from being interpreted by your shell: $ echo "asdfp asdfp a" | tr -d '[:s

tr -d [:space:] removes the letter 'p'

2004-10-17 Thread Aizer Danny-BDA023
Hello, I have run into a weird scenario: echo "asdfp asdfp a" | tr -d [:space:] returns: asdf asdf a instead of: asdfpasdfpa This happens when I have a file called 'p' (zero-bytes) in my home directory. I run on RH9 (Shrike) Linux 2.4.20-8 with coreutils-4.5.3-19 and bash-2.05b-20. This has