Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------
- <At_First_Sight> <isCalled> "A.
- <The_Godfather> <isCalled> "A.
- <The_Godfather> <isCalled> "Mrr.
- <Night_of_the_Comet> <type> "wikicategory_Comedy_science_fiction_films".
- Required output should be -
- <Night_of_the_Comet> <type> "wikicategory_Comedy_science_fiction_films".
- Command - ^(.+?"[^"]+.)
- egrep '^[^"]*"[^"]*$' file
- <At_First_Sight> <isCalled> "A.
- <The_Godfather> <isCalled> "A.
- <The_Godfather> <isCalled> "Mrr.
- sed -n '/^[^"]*"[^"]*$/p' file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement