$ expand [option(s)] [file]
$ unexpand [option(s)] [file]
$ strings [option] <file>
$ uniq [option] [input-file [out-file]]
option | description | remark |
---|---|---|
-c | 重複す行を行頭に更かして出力 | |
-f <項目数> | 空白かタブで区切られたフィールド数をスキップして同一行かを判定する | |
-s <文字数> | 文字数をスキップして同一行かを判定する | |
-i | 大文字・小文字の区別をしない | |
-d | 重複がある行のみを表示する | |
-u | 重複しない行のみを表示する | |
-w <文字数> | 各行の指定した文字数のみを重複判定する。-f, -s を指定した場合はスキップ後の文字数をチェックする | |
-z | 行末を NULL 文字にし、改行しない |