On Wed, 28 Jun 2006, Stuart Jansen wrote:
To paraphrase, we have a close single quote followed by an open double quote -
then the single quote, a close double quote followed by another open single
quote. Clear as mud.
I can't decide if that's evil or genius. Probably both.
~]$ echo 'Stuart s
> I can't decide if that's evil or genius. Probably both.
Yes, probably: http://howevilareyou.com/us/
--Dave
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/
On Mon, 2006-06-26 at 09:31 -0600, [EMAIL PROTECTED] wrote:
> perl -e 'print "How'"'"'re you?\n"'
>
> To paraphrase, we have a close single quote followed by an open double quote
> -
> then the single quote, a close double quote followed by another open single
> quote. Clear as mud.
I can't d
perl -e 'print "How'"'"'re you?\n"'
To paraphrase, we have a close single quote followed by an open double quote -
then the single quote, a close double quote followed by another open single
quote. Clear as mud.
But it works.
Paul
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscri
On Fri, 23 Jun 2006, Kimball Larsen wrote:
> ssh -l username some_host_IP '/usr/bin/mysqldump -C -umysqlusername
> -pmysqlpassword DBName TableName -w"SomeColumn like `echo -e "\047"`%015`echo
> -e "\047"`" >> /tmp/dumpFromRemote1.sql'
>
> ie, I use `echo -e "\047"` to get me a single quote where
On Fri, 2006-06-23 at 16:20 -0600, Kimball Larsen wrote:
> What I meant was single quotes within double quotes within single
> quotes.
You can not have single quotes within single quotes.
I don't know enough about mysqldump to know if it will help, but you
might want to check out here documents
sorry, I should have clarified:
On Jun 23, 2006, at 3:52 PM, Nicholas Leippe wrote:
On Friday 23 June 2006 15:42, Kimball Larsen wrote:
Then you get quotes within quotes within
quotes - which bash disallows.
How is it disallowed? As long as the data is properly escaped/
encoded, you
shou
On Friday 23 June 2006 15:42, Kimball Larsen wrote:
> Then you get quotes within quotes within
> quotes - which bash disallows.
How is it disallowed? As long as the data is properly escaped/encoded, you
should be able to pass anything.
echo "\"a\""
sh -c "echo \"\\\"a\\\"\""
sh -c "sh -c \"e
So, I'm writing a fairly nasy java app that needs to do some dumping
of mysql data from many remote sources.
I know I could do this internally with the mysql drivers for java,
but I feel it is faster, easier, and more reliable if I just drop out
to a shell and run mysqldump directly.
Now,