On Wed, 2004-06-09 at 06:58, Sven Neumann wrote: > Hi, > > Mathieu Masse <[EMAIL PROTECTED]> writes: > > > Now when I call this from a bash script it is also fine, my > > problem is that instead of passing fixed parameters to my script-fu > > script I want to pass bash variables, but I can't get this to work, > > I looked on the web and tried what people suggest but can't get it > > to work, please help. > > I'd say your quoting is wrong. You can hardly expect nested single > ticks to work. > > > gimp -d -i --verbose -b '(script-fu-add-text-weather-map '$fullpath' > > '$file' '$current_time')' > > Try this instead: > > gimp -d -i --verbose -b '(script-fu-add-text-weather-map "$fullpath" > "$file" "$current_time")' > That also does not work using the double quotes gimp thinks these are strings and does not evaluate the values of the variables...
> Sven -- Mathieu Massà Email: [EMAIL PROTECTED] GPG Public Key available at http://www.keyserver.net Key fingerprint = 9C3F 7217 1AF5 0BC6 B502 79B3 B1BB 7360 D043 B69C
signature.asc
Description: This is a digitally signed message part