bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #17900] rm -f should ignore ENOTDIR


From: Jim Meyering
Subject: Re: [bug #17900] rm -f should ignore ENOTDIR
Date: Tue, 03 Oct 2006 10:21:39 +0200

Jim Meyering <address@hidden> wrote:
> It should also include ENAMETOOLONG:
>
>   $ rm -rf /t/$(printf %0257 1)/x 2> /dev/null || echo bug
>   bug

Whoops.
Two problems above: most people don't have a /t directory.
and printf needs a format character:

  $ rm -rf $(printf %0257d 1)/x 2> /dev/null || echo bug
  bug




reply via email to

[Prev in Thread] Current Thread [Next in Thread]