On Mon, Apr 08, 2013 at 10:35:09PM +0200, Jason A. Donenfeld wrote:
> On Mon, Apr 8, 2013 at 10:32 PM, John Keeping <[email protected]> wrote:
> > Can we avoid a pipe here and use a temporary file instead?
> 
> Sure, no problem. Why do you prefer a temporary file over a pipe?

The pipe hides the exit status of whatever is on its LHS, so if
cgit/strace crashes or exits with an error, piping the output completely
loses that, which is particularly bad if we're then grep'ing for a
negative.

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to