[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] string escaping - part 2
- Subject: [ale] string escaping - part 2
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Thu, 21 Jun 2001 09:15:39 -0400
Christopher Bergeron wrote:
>
> Everyone, thanks for the help! Here's the bizarre thing: When I echo that
> to a file it works properly, but when I send it to a command, it fails.
> Here is the script:
>
> #!/bin/bash
> d=`date +%D`
> t="'text 50,50 \"$d\"'"
> mogrify -draw $t /root/jet/max.gif
Try mogrify -draw "$t" /root/jet/max.gif
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ should work (but doesn't)
--
Until later: Geoffrey esoteric at denali.atlnet.com
"Great spirits have always found violent opposition from mediocre minds.
The latter cannot understand it when a man does not thoughtlessly submit
to hereditary prejudices but honestly and courageously uses his
intelligence." - Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.