OT: sed + exit status

Dimitar Vasilev dimitar.vassilev at gmail.com
Sat Feb 14 22:57:23 PST 2009


>
>
>        .  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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
Hi Robert,
try to use truss or strace to see the exit codes in both cases.


More information about the freebsd-questions mailing list