Text Processing16 / 18
Up next

awk -F and patterns

#!/usr/bin/env bash

# -F sets the field separator; the pattern filters rows
printf '%s\n' "alice:30" "bob:25" "carol:40" |
  awk -F: '$2 > 28 {print $1}' 
What you're solving

custom separator plus a row filter