Cameron Simpson wrote: > >One thing I have done in my own shell setup is alias (well, shell >function, but the idea's the same) rm, cp, chmod, chown, chgrp and a >couple of others to an equivalent of > > ( set -x; rm ${1+"$@"}; ) > >i.e. I get to see the results of my shell expansion for these important >operations. Occasionally it alerts me to some stupid error in time to >hit interrupt, and anyway leaves some info around for recovery if it's >too fast. Ok, y'got me ... what is the thingy in the brackets doing? set -x shows me the expansion, but I don't understand what the rest of it is doing. In a test script, that structure returned the same output as $@ by itself (just the positional parameters). Enlighten me? _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: Best backup system/plan for maximum safe... Bill Anderson
- Re: Best backup system/plan for maximum ... Bret Hughes
- Re: Best backup system/plan for max... Bill Anderson
- Re: Best backup system/plan for... rpjday
- Re: Best backup system/plan for... Jonathan Wilson
- Re: Best backup system/plan for... rpjday
- Re: Best backup system/plan for... Cameron Simpson
- Re[2]: Best backup system/plan ... Brian Ashe
- Re: Best backup system/plan for... Bret Hughes
- Re: Best backup system/plan for... Cameron Simpson
- Re: Best backup system/plan for... David Talkington
- Re: Best backup system/plan for... Cameron Simpson
- Re: Best backup system/plan for... David Talkington
- Re: Best backup system/plan for... Greg Wright
- Re: Best backup system/plan for... David Talkington
- Re: Best backup system/plan for... Cameron Simpson
- Re: Best backup system/plan for... Bret Hughes
- Re: Best backup system/plan for... Cameron Simpson
- Re: Best backup system/plan for... Bill Anderson
- Re: Best backup system/plan for... rpjday
- Re: Best backup system/plan for maximum safety - what do ... Bill Carlson