4 ms·
Why not just write this as a bash one-liner? function httpdiff { diff <(curl -L $1) <(curl -L $2) }
by pokoleo 12y ago
Why not just write this as a bash one-liner?
function httpdiff {
diff <(curl -L $1) <(curl -L $2)
}
- jgrahamc 12y agoTry httpdiff https://www.google.com http://www.google.com/
- TazeTSchnitzel 12y agoBecause `diff` only understands naïve textual differences. A tool that understands the HTTP format can give you more meaningful info.