Yep. I forget things. I love to learn new things, but sometimes, I can't quite remember how I did them. Feel free to use this repository as I do: A vault of things I want to remember...
Tuesday, February 14, 2012
linux:shell Loop on a space delimited varialble
var="string with spaces"
# note that $var must NOT be quoted here!
for X in $var do echo "$X" done
No comments:
Post a Comment