On 4/13/16 1:13 AM, George wrote:
> Users can work around this by duplicating the file descriptor:
> $ exec {fd_that_wont_vanish_on_me}<&${coproc[0]}-
> But it kind of negates the benefit of having coproc accept a name for
> the fd array if you just wind up having to re-bind it anyway. And the
> c
2016-04-13 11:23:01 +, Anis ELLEUCH:
> Hello everybody,
>
> I would like to ask if it is possible to disable expanding asterisk when it
> selects all entries ?
>
> `$ rm * .jpg` with a mistaken space between asterisk and .jpg will delete
> everything in your home directory or in the entire di
Mike Frysinger writes:
> On 14 Apr 2016 09:23, Andreas Schwab wrote:
>> Mike Frysinger 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
On 14 Apr 2016 09:23, Andreas Schwab wrote:
> Mike Frysinger 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 ?
>
Mike Frysinger 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. If you lose the alias for
whatever reason you get silent failure.
Andrea