InterviewSolution
Saved Bookmarks
| 1. |
Which of the following symbols are used for matching multiple patterns?(a) |(b) &(c) ( and )(d) | and ( and )This question was posed to me in class test.This key question is from grep command in chapter Filters using Regular Expressions of Unix |
|
Answer» RIGHT answer is (c) ( and ) The BEST explanation: The | SYMBOL is a delimiter of multiple PATTERNS. Using it, we can match multiple patterns. For example, to match GUPTA and agarwal we can use the following command: |
|