Skip to Content
gnux

-c, --complement

Use the complement of SET1.

An option of trx.

Usage

trx -c STRING1 [STRING2]
trx --complement STRING1 [STRING2]

Details

ShortLongValueDefaultMeaning
-c--complementnoneuse the complement of SET1

Examples

Put each word on a line of its own

catx essay.txt | trx -cs '[:alnum:]' '\n'

Keep only the printable characters and newlines

trx -cd '[:print:]\n' < binary.log

Help in the terminal

gnux help trx --complement

On this page