I am trying to convert all tabs to spaces using expand command.
1 QA 2 DEV 3 OPS
On executing expand department.txt; the output is still same.
I have verified that my file contains tab characters by using od -c. Can someone explain why expand is not working ?
UPDATE: As muru pointed out in below comment; I was having wrong expectations from expand command, i was expecting tabs to be converted to single space; which caused the confusion. Expand command converts tab to equivalent spaces.