File: Generate

package info (click to toggle)
wcd 3.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 804 kB
  • ctags: 640
  • sloc: ansic: 8,260; makefile: 43; sh: 6; csh: 1
file content (12 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#c3po-latest wcd.G 
c3po-0.19.5 wcd.G

export list=`ls *.[chly]`
for i in $list
do
  sed -e s/bool/c3po_bool/g -e s/beep/c3po_beep/g -e s/strings.h/string.h/ $i > $i.tmp
  /bin/mv $i.tmp $i
done

/bin/rm *.tmp