(check と次のcheck2 は同等)
[usp1 usp@ ~]$ cat check2
tagA need
tagB need
tagC need
tagD need
tagE _
tagF _
[usp1 usp@ ~]$ keta tagdata
tagA tagB tagC tagD tagE tagF
_ b
_ d e f
a b
c d e f
a b
c _ e f
[usp1 usp@ ~]$ cktag_need check tagdata 2> error > ok
[usp1 usp@ ~]$ echo $?
1
[usp1 usp@ ~]$ cat error
1 tagA
1 tagC
3 tagD
[usp1 usp@ ~]$ cat ok
tagA tagB tagC tagD tagE tagF
a b
c d e f