(Video materials in preparation)
tagdelr : Delete lines that match exactly
Usage : tagdelr <field> <str> <file>
Version : Tue Jan 9 09:02:34 JST 2024
Edition : 1
Delete lines from <file> where the specified field <field> matches
the specified string <str> exactly.
If <file> is omitted or equal to "-", data is read from stdin.
Delete lines where the specified field matches exactly.
$ cat data
NUM LTR
0001 a
0002 b
0003 c
0004 c
$ tagdelr NUM 0001 data
NUM LTR
0002 b
0003 c
0004 c
$ tagdelr LTR c data
NUM LTR
0001 a
0002 b