2 ms·
Which works well for that one example. But not others. diff <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1) On my machi
by jgrahamc 12y ago
Which works well for that one example. But not others.
diff <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1)
On my machine that produces 33k of output. I like one liners and using the shell, but this tool was built not for fun because I was debugging things that were painful.
- tlrobinson 12y agoThat's nothing a couple "1> /dev/null"'s can't solve (or redirect to a temporary file then "diff -q"). But yeah, yours is a bit nicer.
- Hello71 12y ago$ diff -y -W $COLUMNS <(curl -Lvs https://www.google.com/ 2>&1) <(curl -Lvs http://www.google.com/ 2>&1) Edit: furthermore, with curl you can use options like -b, -c, -d, which would all have to be reimplemented in your system.
- z1mm32m4n 12y agoIf you're worried about paging, you could always just pipe it to less, or if you still wanted colors you could swap out diff for vimdiff. Nice tool, though.