edwards@harvard.ARPA (Bill Edwards) (07/29/85)
This script should also deal with file names you get off SIMTEL20,
CU20B etc. File names are looked for on stdin, and are emitted on
stdout.
# another go at civilizing names of files from arpa
{
colons = split ($0, colar, ":")
if (colons == 0)
{
angles = split ($0, angar, ">")
}
else
{
angles = split (colar[colons], angar, ">")
}
periods = split (angar[angles], perar, ".")
print perar[1]"."perar[2] | "tr '[A-Z]' '[a-z]'"
}