[K12OSN] More scripting help...
Shawn Powers
spowers at inlandlakes.org
Thu Sep 8 13:17:08 UTC 2005
On Sep 8, 2005, at 9:07 AM, Shawn Powers wrote:
> for lines in `cat $1`
Ok, here's my problem, but I don't know how to get it right. If I do
the above, the space in the Name field gets split into 2 lines, so
apparently a "for" loop doesn't consider it a whole line using it
this way. Grrr....
I could awk/sed the spaces into underscores, and then do the opposite
to get the spaces back -- but there MUST be an easier way.
This might be fun if I wasn't so under the gun...
More information about the K12OSN
mailing list