Why the Bourne shell is not my favorite language

November 15, 2006

The difference between

for i in "a b"; do
	mv -f $i $i-UBUNTU


FOO="a b"
for i in $FOO; do
	mv -f $i $i-UBUNTU

is subtle (in visual appearance) and easy to accidentally forget, but important.

(Fortunately I am doing test installations in VMWare these days, so a mistake is less tedious than it used to be.)

Written on 15 November 2006.
« Some more power consumption numbers
A little regexp thing to remember about \b (and \w) »

Page tools: View Source, Add Comment.
Login: Password:
Atom Syndication: Recent Comments.

Last modified: Wed Nov 15 18:00:01 2006
This dinky wiki is brought to you by the Insane Hackers Guild, Python sub-branch.