구분자 개수 확인하기 리눅스

$ cat test.txt | awk -F '^' '{print NF "=>" $0}' | grep -nv '^6'
1:5=>sssdfdfds^sddfsfsdfds^fdsfdsfdsfds^dfsfsdsfd^
2:5=>sssdfdfds^sddfsfsdfds^fdsfdsfdsfds^dfsfsdsfd^
3:5=>sssdfdfds^sddfsfsdfds^fdsfdsfdsfds^dfsfsdsfd^
4:2=>sssdfdfds^sddfsfsdfds
5:5=>sssdfdfds^sddfsfsdfds^fdsfdsfdsfds^dfsfsdsfd^
6:5=>sssdfdfds^sddfsfsdfds^fdsfdsfdsfds^dfsfsdsfd^
8:0=>
$

덧글

댓글 입력 영역