Thread (1 message) 1 message, 1 author, 2018-09-18

Re: [PATCH] t5551-http-fetch-smart.sh: sort cookies before comparing

From: Junio C Hamano <hidden>
Date: 2018-09-18 01:55:36

Jeff King [off-list ref] writes:
quoted
-cat >expect_cookies.txt <<EOF
+cat <<EOF | sort >expect_cookies.txt
This can be spelled:

  sort >expect_cookies.txt <<EOF

can't it? Then we do not even incur the extra process. :)
Yeah, true.  Running cat only to feed a pipe with contents of a
single file or the here-doc is an anti-pattern.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help