Interesting problem writing bash script to execute commands from SQL

2008-08-29 Thread juliodm
7; -l end_of_my_line" $COMMAND Then it will not execute properly. I don't know if the spaces inside the single quotes are the problem or if the single quotes themselves are the problem. Can anyone give me some clues or another method to use? Thanks ahead of time for reading, and

Re: Interesting problem writing bash script to execute commands from SQL

2008-08-30 Thread juliodm
juliodm wrote: > > I'm writing a bash script to that will execute commands from a database. > What I mean is that the MySQL database contains commands that bash will > pull and then run itself. > > My problem is that some of the commands contain single quotes, as neede