Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have been struggling to answer these questions and would really appreciate help to answer them. Thank you! Question #18: The commands vi, sed, and

I have been struggling to answer these questions and would really appreciate help to answer them. Thank you!

image text in transcribed

Question #18: The commands "vi", "sed", and "grep" all use the same format for regular expressions. which line below would match "[^ ]ra" ? I will not, will not, with a goat I do not like them with a mouse I do not like them with a fox OI will not eat them on a train OI will not eat them in a house. I do not like them in a box OI will not eat them in the rain I could not, would not, on a boat Question #19: I want to find all words that start and end with the same letter. What command will work? Osed 'la-z]*[a-z]S' /usr/share/dict/words Ogrep '[a-z]*[a-z]S' /usr/share/dict/words Osed 'la-z].*[a-z]S' /usr/share/dict/words None of the other answers is correct Ogrep 'A..*.$' /usr/share/dict/words O sed ..S' /usr/share/dict/words Ogrep '[a-z].*[a-z]S' /usr/share/dict/words Question #20: which is a grep-like regular expression which will match lines that include the character "/"? Cannot be done

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions