This is the only way I’ve found to do it so far. Any better ideas? cat input.txt | tr “\350\351\352\340\341\342\343\344\345\362\363\364\365\366\371\372\373\374” “eeeaaaaaaooooouuuu” Note tr \xxx is octal.
Tag: scripting
Obscure command line switch of the day
-max-procs n switch to xargs allows easy “parallel” processing in scripts. cat file.txt | xargs -i{} -max-procs 10 something {}