3 ms·
For field extraction (like the first example: `awk -F, '{print $1}'`), you can also use `cut -d, -f1` GNU datamash (https://www.gnu.org/software/datamash/ http
by asicsp 3y ago
For field extraction (like the first example: `awk -F, '{print $1}'`), you can also use `cut -d, -f1`
GNU datamash (https://www.gnu.org/software/datamash/ https://www.gnu.org/software/datamash/) provides features like groupby, statistical operations, etc.
See also this free ebook: Data Science at the Command Line (https://jeroenjanssens.com/dsatcl/ https://jeroenjanssens.com/dsatcl/)