Timeline for Is there an option to make sed fail if pattern not found?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:39 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Jan 7, 2014 at 8:52 | comment | added | Chris Snow | The least voted answer has changed. I think the answer @manatwork is referring to is stackoverflow.com/a/12144882/1033422 | |
| Nov 15, 2012 at 13:09 | comment | added | manatwork |
If using GNU sed, I would start with the least voted answers which use sed's q command to set the exit code. (Sadly q's exit code argument is not POSIX compliant.)
|
|
| Nov 15, 2012 at 13:07 | history | edited | manatwork | CC BY-SA 3.0 |
deleted 2 characters in body
|
| Nov 15, 2012 at 12:51 | history | answered | delh | CC BY-SA 3.0 |