Skip to main content
added 80 characters in body
Source Link
KB73
  • 1
  • 3

Try thisThis will process any line that has 12 alphanumeric characters and print the first field:

awk '/[[:alnum:]]{12}/ {print $1}' file

Try this:

awk '/[[:alnum:]]{12}/ {print $1}' file

This will process any line that has 12 alphanumeric characters and print the first field:

awk '/[[:alnum:]]{12}/ {print $1}' file
code block
Source Link
HalosGhost
  • 4.9k
  • 10
  • 37
  • 42

Try this: awk '/[[:alnum:]]{12}/ {print $1}' file

awk '/[[:alnum:]]{12}/ {print $1}' file

Try this: awk '/[[:alnum:]]{12}/ {print $1}' file

Try this:

awk '/[[:alnum:]]{12}/ {print $1}' file
Source Link
KB73
  • 1
  • 3

Try this: awk '/[[:alnum:]]{12}/ {print $1}' file