Question

Linux Regular Expression True/False 1."^[A-Z]+" is an equivalent expression to "[^A-Z]+" true or false 2.Both of...

Linux Regular Expression True/False

1."^[A-Z]+" is an equivalent expression to "[^A-Z]+"

true or false

2.Both of the following commands are functionally equivalent

cat flights.txt | grep -E "ONT"

grep -E "ONT" flights.txt

true or false

3.When used as part of a command, the pipe | character directs the output of one command, to the input of another.

true or false

4.The regular expression "\<[A-Za-z]{5,}\>" will match any word of 5 or more characters.

true or false

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.

"^[A-Z]+" is an equivalent expression to "[^A-Z]+"

False

2.

Both of the following commands are functionally equivalent

cat flights.txt | grep -E "ONT"

grep -E "ONT" flights.txt

True

3.

When used as part of a command, the pipe | character directs the output of one command, to the input of another.

True

4.

The regular expression "\<[A-Za-z]{5,}\>" will match any word of 5 or more characters.

True

Add a comment
Know the answer?
Add Answer to:
Linux Regular Expression True/False 1."^[A-Z]+" is an equivalent expression to "[^A-Z]+" true or false 2.Both of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT