Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 2
    You don't need to change the tabs length setting to output a file with reduced tab size. Just use expand instead of cat, like so: expand -4 residuum.txt. Commented Jul 30, 2014 at 16:49
  • I just thought I'd drop by to mention that while expand and unexpand are cool, there is also the tabs command. Sadly less seems to ignore or reset what the terminal tabstops are set to. It's in posix: unix.com/man-page/posix/1p/tabs Commented Sep 11, 2023 at 23:04