Question: 4 . ( 1 0 points ) To the left of each awk command below, write the number of the corresponding sed command and the

4.(10 points) To the left of each awk command below, write the number of the corresponding sed command and the letter of the corresponding grep/tr/sort/\(\mathcal{G c}\) c. command. Assume no spaces at the beginning or end of input lines. If any is not possible, mark it with an ' X '. The first one has been done for you.
```
a)10 E awk '{print substr($0,length($0),1)}' d)___ awk 'NR =5'
b)___ awk '/^[Aa]/'
c)___ awk 'length >25'
1 sed '/...../d' A fgrep -v '.'
2 sed '/\./d' B grep -E '..{25}'
3 sed '5q' C grep -E '~[0-9]+$'
4 sed 's/.*//' D grep -i '`a'
5 sed 's/.*//' E grep -o '.$'
6 sed 's/.*.//' F grep -o '[^]*'
7 sed 's/^.\(\ldots..\).*/\1/', G grep -o '[^]*$'
8 sed 's/\(.*\).//' H grep -o '^[^]*'
9 sed -En '/..{25}/p' I grep -v ......
10 sed -e 's/.*\(.\)/\1/', J grep -w 25
11 sed -n '/^[0-9][0-9]*$/p' K head -5
12 sed -n '/^[Aa]/p' L sed '/^$/d'
13 sed -n '/\25\>/p' M tail -5
```
4 . ( 1 0 points ) To the left of each awk

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 Programming Questions!