Which of the following symbols are used for matching multiple patterns?
Which of the following symbols are used for matching multiple patterns? Correct Answer ( and )
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: $ grep -E ‘gupta|agarwal’ emp.lst Similarly to match sen gupta and das gupta use the following command: $ grep -E (sen|das)gupta emp.lst.
মোঃ আরিফুল ইসলাম
Feb 20, 2025