Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 4/1/2008 9:25 AM: > | The first is because I found a few persistent dangling symlinks > | in lib/*.[ch] to be annoying. > > | +find "$m4_base" "$source_base" \ > | + -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1 > > Except that doesn't delete dangling links in lib/*.[ch]. > > You need something like: > > find "$m4_base" "$source_base" -depth \ > ~ \( -name '*.m4' -o -name '*.[ch]' \) -type l -xtype l -delete
Too true ;-) _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils