annotate rename.sh @ 405:e23a39947f4c trunk

[svn] Initialize variables to zero where required.
author chainsaw
date Sun, 08 Jan 2006 13:39:07 -0800
parents cb178e5ad177
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 files=$(grep libbeep * -Rl | xargs)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 for i in $files; do
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 echo "==> $i"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 sed s:beep\/:audacious\/:g < $i > $i.new
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 mv $i.new $i
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 done;