Klaus

unexpand

 Thu, 23 Feb 2017 14:31:38 +0100 
Should have known this before:
unexpand -t 4 --first-only infile > outfile


When you have a space-intended file and you want tabs. Will create one tab for 4 spaces and only at the beginning of a line.
 tools
Mike Macgirvin
 Thu, 23 Feb 2017 19:53:57 +0100 
thank you!