Listmates, I cannot figure out the differences that the continuations are making in the following lines of code. It looks like bash isn't handling the continuations correctly. The block of code doesn't work, the identical one-liner does. Here is the code: BASENAME=$(echo $(basename $1 .JPG) | sed -e 's/\"//g' \ -e 's/^\s*//' -e 's/\s*$//' \ -e 's/ /_/g' -e 's/__/_/g' \ -e 's/_-_*/-/g') BASENAME=$(echo $(basename $1 .JPG) | sed -e 's/\"//g' -e 's/^\s*//' -e 's/\s*$//' -e 's/ /_/g' -e 's/__/_/g' -e 's/_-_*/-/g') What say the gurus? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org