3 ms·
The awk command cat sales.csv | awk -F',' '{print $1}' | sort | uniq can even be further simplified to cut -d, -f1 sales.csv | sort -u
by mnaydin 7y ago
The awk command
cat sales.csv | awk -F',' '{print $1}' | sort | uniq
can even be further simplified to
cut -d, -f1 sales.csv | sort -u