Awk, sed, grep cookbook