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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!