Kev:
Try the command line tool expand.
expand -t 4 input >output
And for those systems that don’t use the GNU Core Utilities, you have a decent chance of expand being installed since it is standardized by The Open Group’s Single Unix Specification. See Issue 6, which is from 2001, though some updates were applied, hence the year of publication being 2004: expand
–jeroen
via bash – How can I convert tabs to spaces in every file of a directory? – Stack Overflow.
Filed under: *nix, *nix-tools, bash, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux
