我正在尝试做类似的事情:
patch <( zcat data.201301.gz ) patch_file.diff -o /dev/stdout
我得到的结果是:
File /dev/fd/63 is not a regular file -- refusing to patch
4504 out of 4504 hunks ignored -- saving rejects to file /dev/stdout.rej
如何使用进程替换生成修补文件?
我正在尝试做类似的事情:
patch <( zcat data.201301.gz ) patch_file.diff -o /dev/stdout
我得到的结果是:
File /dev/fd/63 is not a regular file -- refusing to patch
4504 out of 4504 hunks ignored -- saving rejects to file /dev/stdout.rej
如何使用进程替换生成修补文件?