how to tell a dangling symlink?

1999-04-24 Thread Marcelo E. Magallon
Hi, is: file -b dangling_symlink | grep -q '^broken symbolic link to' a good way to test for a dangling_symlink? I'm worried about locales... Thanks, Marcelo

Re: how to tell a dangling symlink?

1999-04-24 Thread Changwoo Ryu
"Marcelo E. Magallon" <[EMAIL PROTECTED]> writes: > Hi, > > is: > > file -b dangling_symlink | grep -q '^broken symbolic link to' > > a good way to test for a dangling_symlink? I'm worried about > locales... Yes, it will fail in non-english locales. Hmm.. Isn't it sufficient to t

Re: how to tell a dangling symlink?

1999-04-24 Thread Ben Collins
On Sat, Apr 24, 1999 at 12:09:27PM -0600, Marcelo E. Magallon wrote: > Hi, > > is: > > file -b dangling_symlink | grep -q '^broken symbolic link to' > > a good way to test for a dangling_symlink? I'm worried about > locales... [EMAIL PROTECTED](4:57pm)-~/test]%ls -l total 0 lrwxrwxrwx