On Wed, Aug 14, 2002 at 05:38:41PM -0700, Michael Montagne wrote: > I'm playing around a bit with rox. There is a feature called Send-to. > It will take a selection of files and pass them to a program. What I'd > like is to pass the files to mutt and have them be the attachments. > I tried: > konsole -e mutt -a "$@" > in a shell script but it appears that the "-a" argument only accepts one > file, cause it works then. > Is my desire possible? Well it must be, but is it possible within > reasonable limited shell script programming knowledge?
How about this? cmd="konsole -e mutt" for a in "$@" do cmd="$cmd -a $a" done $cmd HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |