(Video materials in preparation)
tagdelf : Remove the specified field from a tag file and output the result
Usage : tagdelf <tag1> <tag2> ... <tagfile>
Version : Tue Jan 9 09:02:34 JST 2024
Edition : 3
Outputs <tagfile> with the fields specified as <tag1> <tag2> ..
removed. The output is in tag file format.
If <tagfile> is not specified or specified as "-" then the
command reads from standard input.
(Original Data)
$ cat data
TAG1 TAG2 TAG3 TAG4 TAG5
a1 b1 c1 d1 e1
a2 b2 c2 d2 e2
$ tagdelf TAG2 TAG4 data <- Fields TAG2 and TAG4 are deleted
TAG1 TAG3 TAG5
a1 c1 e1
a2 c2 e2
$ tagdelf TAG2/TAG4 data <- Fields TAG2 to TAG4 are deleted
TAG1 TAG5
a1 e1
a2 e2