Question: 10) What is the following awk program (wrapped in a bash script) doing? #1/bin/bash echo $1>/tmp/x.x cat $2>>/tmp/x.x # use awk for this /usr/bin/awk BEGIN

 10) What is the following awk program (wrapped in a bash

10) What is the following awk program (wrapped in a bash script) doing? #1/bin/bash echo $1>/tmp/x.x cat $2>>/tmp/x.x # use awk for this /usr/bin/awk BEGIN {alpha="abcdefghijkmnopqrstuvwxyz"; } NR 1 key- $1;) NR > 1 { c="" f b- tolower(Si); for( j= 1 ; j 0) who substr(alpha, (what-1-key)%26+1,1) c = (c who); print c " /x.x rm /tmp/x.x

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!