Created
August 29, 2025 16:56
-
-
Save grosscol/8b23fa5cec903d0cbb64418522323b76 to your computer and use it in GitHub Desktop.
Count_tabs_per_line.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# checking the unbalanced tabs by counting the number of tabs per line. | |
cat myfile.tsv |\ | |
tr -d -c "\t\n" |\ | |
awk '{print length;}' |\ | |
sort -n |\ | |
uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment