Re:Show HN: Curl https://ec2.shop
by css on Tuesday June 30, 2020 @10:53AM
(#23690639)
Very neat. Anyone know why
would work, but
does not? Both commands work if I write the curl result to a file, but when I pipe from curl, the pattern `m4` matches all instances of the number 4.
[ Parent
| on HN ]
Re:Show HN: Curl https://ec2.shop
by wolfgang42 on Tuesday June 30, 2020 @11:01AM
(#23690739)
It’s not matching every number 4, just the ones at the start of a column. The m is coming from “ESC[31m”, the escape code used to set the color of the text in the column.
Thank you, this is a bug.
The color code for blue is `"\033[34m` so it always match m4 for anything :(.
Just push a fix by disabling color as suggestion in here as well