fun fact : you can use -F to split the data using the delimiters in the file.
eg. awk -F',' '{print $1, $NF}' DATA
for more details, here is to look for : https://learn.redhat.com/t5/Platform-Linux/Using-awk/td-p/47220
Also do you guys know awk is an acronym that is formed from the last names of its brilliant creators: Alfred Aho, Peter Weinberger, and Brian Kernighan (AWK )
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.