like i have this lines on the file {218394 ted 'y' ted} {131241 john 'n' ted} and i want to check if its y continue if its n dont !i have this code until now!: read -p Enter your answer :  echo your answer is: $answerif grep -q $answer $sinthen    echo yelse    echo nfiwhat i want is to control if inside 'sin' file in the specific column/line for example $3 its y or n!
How i check if a specific number.word exist in a line?
bash;shell script