colrm

Remove columns from stdin. More information: <https://manned.org/colrm>.

Install

All systems
curl cmd.cat/colrm.sh
Debian Debian
apt-get install bsdmainutils
Ubuntu
apt-get install bsdmainutils
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install bsdmainutils
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install bsdmainutils
OS X
brew install util-linux
Raspbian
apt-get install bsdmainutils
Docker
docker run cmd.cat/colrm colrm powered by Commando

Remove columns from stdin. More information: <https://manned.org/colrm>.

  • Remove first column of `stdin`:
    colrm 1 1
  • Remove from 3rd column till the end of each line:
    colrm 3
  • Remove from the 3rd column till the 5th column of each line:
    colrm 3 5

© tl;dr; authors and contributors