[mdlug] Scripting - Newlines getting clobbered?
Robert Meier
eaglecoach at wwnet.com
Thu Dec 27 18:50:47 EST 2007
Michael,
> Also, besides quoting variables and using $() instead of backticks,
> I always use read -r instead of just read, when reading files.
ditto
I won't say how many times I was burned before then :/ .
Likewise,
find ... -print | while read f; do ...; done
Reporting,
--
Robert Meier
"He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty he establishes a precedent that
will reach to himself."
--Thomas Paine
More information about the mdlug
mailing list