|
Regular expressions using grep
How do I say or within the regular expression? Basically I want it to match either of the following expressions
'^--w'
'^---'
So when I pipe the output of ls -l through grep it will search for matches for both expressions
|