Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 08:26:27 +0200
From:      Dimitar Vasilev <dimitar.vassilev@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: OT: sed + exit status
Message-ID:  <59adc1a0902142226ueb6e878h51076eec2cc58609@mail.gmail.com>
In-Reply-To: <18838.52454.185642.297737@jerusalem.litteratus.org>
References:  <18838.52454.185642.297737@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>
>        .  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-unsubscribe@freebsd.org"
>
Hi Robert,
try to use truss or strace to see the exit codes in both cases.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59adc1a0902142226ueb6e878h51076eec2cc58609>