Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- awk -F '|' 'NF != 35 {print NR, $0} ' your_filefile
- cat records.txt | perl -ne '$t = $_; $t =~ s/[^|]//g; print unless length($t) == 35;'
- while read n; do [ `echo $n | tr -cd '|' | wc -c` != 35 ] && echo $n; done < records.txt
Add Comment
Please, Sign In to add comment