4 ms·
Nice to see tr getting some use, though given the sed on either side I wonder if sed -r 's/\<./\U&/g; s/ +//g; s/[^a-zA-Z].*//' would be better. Note, the
by ralph 14y ago
Nice to see tr getting some use, though given the sed on either side I wonder if
sed -r 's/\<./\U&/g; s/ +//g; s/[^a-zA-Z].*//'
would be better. Note, the last s/// doesn't need a g.