Created
July 9, 2015 21:25
-
-
Save kmanalo/394f58b23511cd502979 to your computer and use it in GitHub Desktop.
Check for Tabs
This file contains 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
#!/usr/bin/awk | |
BEGIN { | |
FS = "\t" | |
} | |
{ | |
if (NF-1 > 0) { | |
print "has tab" | |
} | |
} | |
{ exit 1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment