Search results

  1. T

    grep -E or egrep exit status.

    Hi For example, I have a text file contains the words below. $cat sometext.txt call attended Executed below $egrep 'call|attended' sometext.txt call attended $ echo $? 0 As excepted the exit status is 0 Now egrep with a word that is not in sometext.txt $ egrep 'call|zzz'...
Top