Denis Prost wrote:
> the workaround I found is to put somewhere in my path the following
> shell script, called sylpheed-claws_for_oo.sh
>
> #!/bin/sh
> args="$*"
> file=${args/--attach /}
> sylpheed-claws-gtk2 --attach "$file"
>
I would rather do this:
#!/bin/sh
args="$*"
myarg=""
[ -n $args ] && file=${args/--attach /}
[ -n $file ] && myarg="--attach \"$file\""
sylpheed-claws-gtk2 $myarg
Because of this, you will get never empty --attach argument to the real
sylpheed calling.
Matej
--
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
America is the only country that has gone from barbarism to
decadence without civilization in between.
-- Oscar Wilde
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]