201205622

Upload: sandhya-agrawal

Post on 04-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 201205622

    1/2

    Ans 1: grep -E '^(.)(.).*\2\1$'

  • 7/30/2019 201205622

    2/2

    Ans 10: sed -n '/^\/\*[^\*\/]*\*\/$/p' file2.htmlExp 11: when < comes pattern starts after that any character can come except < and > any number of times after that > and this pattern is substituted by ' '(space)