Thank you, thank you, thank you. 

---------- Original Message -----------
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Sat, 11 Jan 2003 15:36:06 -0800 (PST)
Subject: Re: Passing args

> On Sat, 11 Jan 2003, Mike Vanecek wrote:
> 
> > ./dummy
> 
> Don't do this. Use "source dummy" instead. Bash (instead of bash2) isn't 
> putting the function into the current shell when you execute it. 
> 
> Whatever the reason, why not just avoid all the fuss? Create ged
> somewhere in your path as a script, chmod 7xx, and make sure you delete
> the function (verify with "type -a ged").
> 
>     #!/bin/bash2
>     while [[ -n $1 ]]; do
>         gedit $1 &
>       shift
>     done
> 
> This will do the same job as a function, will take some hundreths  of a
> second longer to run because it's on disk instead of in RAM, but will
> likewise not clutter up RAM when not being used.

Great idea. I will do it. 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to