Skip to Content
gnux

-w, --check-chars

Compare no more than N characters in lines.

An option of uniqx.

Usage

uniqx -w N [INPUT [OUTPUT]]
uniqx --check-chars=N [INPUT [OUTPUT]]

Details

ShortLongValueDefaultMeaning
-w--check-charsNcompare no more than N characters in lines

Examples

Treat lines that share their first 8 characters as equal

uniqx -w 8 commits.txt

Help in the terminal

gnux help uniqx --check-chars

On this page