File: convert_to_unix.sh

package info (click to toggle)
ada-reference-manual 1%3A2012.1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 11,868 kB
  • sloc: ada: 27,641; makefile: 328; sh: 1
file content (3 lines) | stat: -rwxr-xr-x 233 bytes parent folder | download
1
2
3
# 'dos2unix' is installed in Cygwin but not Debian (it could be
# installed in Debian, but we don't need to fix what isn't broken).
for file in *.MSS *.mss *.MSM; do  awk '{ sub("\r$", ""); print }' $file > temp; mv temp $file; done