Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to filter 12 character words from file bash
Jon
Programming language:
Whatever
2021-07-11 14:08:58
0
Q:
how to filter 12 character words from file bash
FridgeRacer
Code:
Whatever
2021-09-04 21:00:08
awk 'length($1) == 12 { print $1 }' file
1
Tags
file
how
character
filter
word
Related
bash find all files containing string
bash count files in directory recursively matchingattern
separate words in lines bash
bash cut delimiter last field
New to Communities?
Join the community