Question: Bash Script via VIM In a file called votingOptions , write a bash script that looks at the 2012_GENERAL.txt (see below) file in the directory
Bash Script via VIM
In a file called votingOptions, write a bash script that looks at the 2012_GENERAL.txt (see below) file in the directory and prints the total unique number of candidate names in the file. Consider anything in the NAME column a candidate name. The provided file is tab separated, meaning that visually, lines may not appear aligned, but the content is aligned with one tab in between each column. Note: Easiest way to split tab separated files in bash. Look at the cut command with the -f flag.
***Provide an explanation of your answer*** 2012_GENERAL.txt file https://www.dropbox.com/s/n5kvxb3ead1l7en/2012_GENERAL.txt?dl=0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
