Skip to Content
gnux

--complement

Complement the set of selected bytes, characters or fields.

An option of cutx.

Usage

cutx --complement OPTION... [FILE]...

Details

ShortLongValueDefaultMeaning
--complementnonecomplement the set of selected bytes, characters or fields

Examples

Drop the second column, keeping the rest

cutx -d , -f 2 --complement people.csv

Help in the terminal

gnux help cutx --complement

On this page