November 19, 2009

More Fun With Bash Quoting

Article Source Linux Journal
November 19, 2009, 9:52 am

I've written about bash quoting before, and yes, it's about as exciting as watching paint dry or listening to the corn grow. It can also be extremely frustrating when it doesn't do what you want, case in point: trying to script the updating of a field in a mysql table when the field to be changed contains quote characters.

Let's imagine we have a simple table with the following data and we would like to change the name field...


Read More

Click Here!