According to the man page:

EXIT STATUS
     The sed utility exits 0 on success, and >0 if an error occurs.


        However, what constitutes "success" is undefined.
        Consider the sed command

        s/FOO/bar/

        .  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?

        Respectfully,


                                        Robert Huff

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to