How To Install Expand In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Expand In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

expand

Convert tabs to spaces.

Maintainer: Michael Stone



Section: utils

Install expand

  • Debian apt-get install coreutils Click to copy
  • Ubuntu apt-get install coreutils Click to copy
  • Alpine OS apk add coreutils Click to copy
  • Arch Linux pacman -S coreutils Click to copy
  • Kali Linux apt-get install coreutils Click to copy
  • CentOS yum install coreutils Click to copy
  • Fedora dnf install coreutils Click to copy
  • Raspbian apt-get install coreutils Click to copy
  • macOS brew install coreutils Click to copy

Convert tabs to spaces.

How to use expand?

Below are few example commands for expand that you can use in the terminal.

Convert tabs in each file to spaces, writing to standard output:
expand fileClick to copy
Convert tabs to spaces, reading from standard input:
expandClick to copy
Do not convert tabs after non blanks:
expand -i fileClick to copy
Have tabs a certain number of characters apart, not 8:
expand -t=number fileClick to copy
Use comma separated list of explicit tab positions:
expand -t=listClick to copy
Install the latest version of expand in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the expand just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of expand from the respository and install it in your computer/server.