Question: Which line has the mistake? #!/bin/bash 2 if [ $filename == quit] then exit cat $filename | while read -r line do if grep
Which line has the mistake? #!/bin/bash 2 if [ $filename == "quit"] then exit cat $filename | while read -r line do if grep -q '^B' < < < $line then echo "$line" -fi 123456789 4 10 11 12 01 O 5 07 O 12 done -fi
Step by Step Solution
There are 3 Steps involved in it
There are multiple mistakes in the provided code Lets go ... View full answer
Get step-by-step solutions from verified subject matter experts
