Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: [PATCH] t5540-http-push.sh: avoid non-portable grep -P

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:17

Possibly related (same subject, not in this thread)

Hi,

On Thu, 26 Feb 2009, Brandon Casey wrote:
   sed -e 'script' input-file

rather than

   sed -e 'script' < input-file
What should make the former more preferable to the latter?

Especially given that the latter way is preferable with other commands (at 
least as far as our test suite is concerned), such as grep, because you do 
not get the file name as part of the result?

And especially given that sed means _stream_ editor, not file editor?

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help