[ale] string escaping - part 2 - didn't work
Christopher Bergeron
christopher at bergeron.com
Thu Jun 21 09:33:46 EDT 2001
Didn't work. But I do appreciate the help. I have the workaround so it's
working, but I'd like to clean up the code and figure out why this isn't
working...
> -----Original Message-----
> From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf Of Wandered
> Inn
> Sent: Thursday, June 21, 2001 9:16 AM
> To: ale at ale.org
> Subject: Re: [ale] string escaping - part 2
>
>
> 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.
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list