[mdlug] Scripting - Newlines getting clobbered?
Michael Corral
micorral at comcast.net
Thu Dec 27 15:21:21 EST 2007
2007-12-27, Monsieur Wojtak, Greg a ecrit:
> You all are starting to make me feel like a noob. I may not be in the
> practice of using quotes all the time, but how many of you habitually use
> the ${VAR} convention!??!
I do. Been doing that for years.
Also, besides quoting variables and using $() instead of backticks,
I always use read -r instead of just read, when reading files.
Michael
More information about the mdlug
mailing list