Skip to Content
gnux

-t, --truncate-set1

First truncate SET1 to length of SET2.

An option of trx.

Usage

trx -t STRING1 [STRING2]
trx --truncate-set1 STRING1 [STRING2]

Details

ShortLongValueDefaultMeaning
-t--truncate-set1nonefirst truncate SET1 to length of SET2

Examples

Map a set onto a shorter one without padding it (-t)

echox abcde | trx -t a-e xy

Help in the terminal

gnux help trx --truncate-set1

On this page