summaryrefslogtreecommitdiff
path: root/sys/src/cmd/diff
diff options
context:
space:
mode:
authorkvik <kvik@a-b.xyz>2020-09-20 14:49:12 +0200
committerkvik <kvik@a-b.xyz>2020-09-20 14:49:12 +0200
commitaa7c8cac1145d0cd6e9117deaa1f8c9f418bca17 (patch)
tree46e284013e4eaf89b0a436e5a28d34f067c32492 /sys/src/cmd/diff
parente3166b4fe83d12a29c265fe9a8f333369b35c663 (diff)
syscall: utility overhaul
Following is a list of functional changes: * The -o flag outputs the entire buffer to the length returned by the syscall, or, in case of fd2path(2) and errstr(2), to '\0'. * The -x flag is removed; the above makes it possible to pipe into xd(1) to get the same result. * The -s flag uses dirfmt(2) to format the stat message, instead of trying to imitate ls(1). * Stderr reports are normalized and made easier to parse. The code also suffered a number of stylistic changes.
Diffstat (limited to 'sys/src/cmd/diff')
0 files changed, 0 insertions, 0 deletions