[Top][All Lists]

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

bug#10819: [BUG][RM]

From: Jim Meyering
Subject: bug#10819: [BUG][RM]
Date: Thu, 16 Feb 2012 09:38:24 +0100

Davide Brini wrote:
> At least in bash, but I suppose in other shells too,
> rm -rf #*
> treats the "#*" part as a comment, and (if you remove the "-f") complains
> about missing operand to rm.

That is the default, but for an interactive shell,
that behavior can be changed:

    $ echo a b # c
    a b
    $ shopt -u interactive_comments
    $ echo a b # c
    a b # c

reply via email to

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