我试图使用一个简单的bash命令来导致两个curl请求的sdiff。
$ sdiff -l -w 140 $(curl -s "https:/URL/1/2/thing.php?d=20190202") \
$(curl -s "https:/URL/1/2/thing.php?d=20190203")
如果我将这两个curl请求下载到文件中,那么可以对其工作的文件进行分解。有可能合并成一个命令吗?
发布于 2019-02-04 17:40:16
您可以使用过程替代
sdiff ... <(curl ...) <(curl ...)
https://stackoverflow.com/questions/54521458
复制相似问题