According to the man page:
The sed utility exits 0 on success, and >0 if an error occurs.
However, what constitutes "success" is undefined.
Consider the sed command
. Is sed "successful" is there are no instances of FOO? Or
only if there is at least one instance of FOO and it is successfully
replaced by bar?
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"