annotate rename.sh @ 1024:3b1dec2c5da0 trunk

[svn] - fix infinite loop issue
author nenolod
date Wed, 10 May 2006 16:01:35 -0700
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;