Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /DOG,29-APR-2015/d
- DOG 29-APR-2015
- DOG 29-APR-2015
- DOG 30-APR-2015
- CAT 29-APR-2015
- CAT 29-APR-2015
- sed -f sedcommands test1.txt > test2.txt
- sed '/DOG/{/29-APR-2015/d}' test1
- sed -e '/DOG/!b' -e '/29-APR-2015/!b' -e d file
- sed '/DOG/{/29-APR-2015/d
- }' file
- sed '/DOG/{/29-APR-2015/d;}' file
- $ sed -e '/DOG[[:space:]]*29-APR-2015/d' test1.txt
- DOG 30-APR-2015
- CAT 29-APR-2015
- CAT 29-APR-2015
- /DOG *29-APR-2015/d
Add Comment
Please, Sign In to add comment