dostrings 360 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. #DO NOT RUN THIS FILE AT ALL.
  3. #need to exit because this is flawed
  4. exit 0
  5. hfiles="`find src/strings/ -name \*.h`"
  6. for s in $hfiles
  7. do
  8. if test -z "$1"; then
  9. cp -f $s src/`basename $s`
  10. # echo "copying $s to src/`basename $s`"
  11. ./stringfix src/`basename $s`
  12. else
  13. rm -f src/`basename $s`
  14. # echo "removing src/`basename $s`"
  15. fi
  16. done