mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-05 20:05:15 +00:00
12 lines
209 B
Bash
12 lines
209 B
Bash
IN=$1
|
|
OUT=$2
|
|
|
|
# Make Mac OS X's tr and sed not complain that the files are not UTF-8
|
|
export LANG=en
|
|
|
|
# cp $IN/[A-Z]*.r $OUT/
|
|
for file in $(cd $IN; ls [A-Z]*.r); do
|
|
tr '\r' '\n' < $IN/$file > $OUT/$file
|
|
done
|
|
|