System Grab Bag

View all TLDR pages from common (or from all pages)

expand

Convert tabs to spaces. More information: https://www.gnu.org/software/coreutils/expand.
  • Convert tabs in each file to spaces, writing to stdout:
    expand {{path/to/file}}
  • Convert tabs to spaces, reading from stdin:
    expand
  • Do not convert tabs after non blanks:
    expand -i {{path/to/file}}
  • Have tabs a certain number of characters apart, not 8:
    expand -t={{number}} {{path/to/file}}
  • Use a comma separated list of explicit tab positions:
    expand -t={{1,4,6}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.

Other Projects

This TLDR page is also found in other projects: