I'm always using awk to manipulate comma separated files, so the first line in my code is always changing the field separator to "," like so:
awk 'BEGIN {FS=","}
$2 < 20 {print $1}' myfile.csv
Is it possible to change awk's defaults so that comma is the default FS? It's not a big problem, but it would just make things a bit neater. I tried googling, but didn't find anything useful; it might be that this isn't possible, but I thought I'd ask!