Again tcsh problems
Posted: 2018-08-28T15:24:43-07:00
Hallo,
I created a minimal example:
The script produces error messages:
However,
works perfectly (I used copy and paste to get the value from namestr to the command line).
Any idea to get the script working.
Best regards,
Daniel
I created a minimal example:
Code: Select all
#!/bin/tcsh
set gf = \"
set namestr = "-pointsize 80 -draw $gf gravity NorthWest fill black text 0,12 a $gf"
echo $namestr
convert a.tif $namestr b.tif
Code: Select all
-pointsize 80 -draw " gravity NorthWest fill black text 0,12 a "
convert: unable to open image `gravity': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
convert: unable to open image `NorthWest': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
....
Code: Select all
convert a.tif -pointsize 80 -draw " gravity NorthWest fill black text 0,12 a " b.tif
Any idea to get the script working.
Best regards,
Daniel