I hate CRLF files.

This commit is contained in:
David Given 2022-07-16 01:07:55 +02:00
parent 0900dcc6c9
commit e564ec311a

View file

@ -6,8 +6,8 @@ em_table=$2
h=${3-.}
d=${4-.}
p=$(grep fpseu $em_table | cut -f2)
m=$(grep fmnem $em_table | cut -f2)
p=$(grep fpseu $em_table | tr -d '\r' | cut -f2)
m=$(grep fmnem $em_table | tr -d '\r' | cut -f2)
$ed - $em_table <<'A' > X
1,/^$/g/ /s// /gp