1.

Which of the following shell doesn’t support ! symbol for negating the character class?(a) bash(b) bash(c) POSIX(d) CI have been asked this question in a job interview.My query is from Pattern Matching, Escaping and Quoting topic in division The Shell of Unix

Answer» CORRECT OPTION is (d) C

The explanation is: The ! SYMBOL cannot be USED to negate a character class in a C shell. In fact, C shell doesn’t provide any MECHANISM for doing so.


Discussion

No Comment Found

Related InterviewSolutions