Question: WRITE AWK SCRIPT FOLLOWING THE INSTRUCTIONS BELOW: The awk Script Take an input file which has two comma-delimited columns and print only the first column.
WRITE AWK SCRIPT FOLLOWING THE INSTRUCTIONS BELOW:
The awk Script Take an input file which has two comma-delimited columns and print only the first column. Sample Input WN - Output for above: You will need to understand that "awk works with fields, the default field separator is a space. Be sure to change that to a comma. The first column is the first field. Note that your "awk" program is ran on each *record* in the file. By default a record is a line of text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
