bug-bash
[Top][All Lists]
Advanced

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

Re: Avoid asterisk expansion when it selects "everything"


From: Andreas Schwab
Subject: Re: Avoid asterisk expansion when it selects "everything"
Date: Thu, 14 Apr 2016 10:00:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mike Frysinger <address@hidden> writes:

> On 14 Apr 2016 09:23, Andreas Schwab wrote:
>> Mike Frysinger <address@hidden> writes:
>> > alternative idea: alias your rm/mv/etc... commands if you're worried
>> > about them.  it's not uncommon to do in ~/.bashrc or wherever:
>> >    alias rm='rm -i'
>> 
>> That's the worst advice you can give.
>
> hyperbole much ?

No, I mean it.

>> If you lose the alias for whatever reason you get silent failure.
>
> you mean you get the status quo.  oh no!

If you depend on the safety net you lose.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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