expand

Name

expand -- convert tabs to spaces

Description

expand is as specified in the SUS but with differences as listed below.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

-i, --initial

does not convert TABs after non-whitespace.

-t, --tabs=NUMBER

supplements behavior as specified in the SUS by allowing argument to specify the number of characters-apart tabs are (instead of 8).