This week: I have a simple shell function, “fields”, that generates a numbered list of the fields in a data table. With those field numbers I can then use AWK and the cut command efficiently on the command line. As an alternative I use a “fieldlist” function that puts the numbered list on my desktop like a Post-it note. Last week: [url=https://www.datafix.com.au/BASHing/2020-10-28.html]A short rant about Python, R and UNIX[/url].
Source: LXer – How to keep an eye on field numbers