diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-15 05:06:41 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-15 05:06:41 -0500 |
commit | 6d2ed7484a29e5a093f24dd5fbbe3522029b4816 (patch) | |
tree | 9daa91f4b0afea40057b66ac788414ef72809480 /uxd.1 | |
parent | cb94cb60fe5a750ed670d89efe3d9233bf0c9b38 (diff) | |
download | uxd-6d2ed7484a29e5a093f24dd5fbbe3522029b4816.tar.gz |
implement -s and -S (seek) options.
Diffstat (limited to 'uxd.1')
-rw-r--r-- | uxd.1 | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "UXD" 1 "2024-12-14" "0.1.0" "Urchlay's Utilities" +.TH "UXD" 1 "2024-12-15" "0.1.0" "Urchlay's Utilities" .SH NAME uxd \- UTF-8 hex dumper .SH SYNOPSIS @@ -60,7 +60,6 @@ over the environment. .B \-b Bold output. This may be more or less readable, depending on your terminal and its color settings. Ignored if \fB\-m\fP given. -NOT IMPLEMENTED YET. .TP .BI \-c \ nnnn Set the colors to use. Must be 2 to 4 digits, from 0 to 7. These are @@ -99,7 +98,11 @@ Seek in input before starting to dump. \fIpos\fP is bytes, not characters. Positive \fIpos\fP means seek from the start of the input. Negative \fIpos\fP only works on files (not standard input); it means seek backward from EOF. -NOT IMPLEMENTED YET. +.TP +.BI \-S \ pos +Same as \fB\-s\fP, but file offsets start at 0 rather than the +position after seeking. \fB\-S 100\fP is the same as \fB\-s 100 \-o \-100\fP\&. +Works with negative \fIpos\fP, too. .TP .B \-u Use uppercase hex digits A\-F. Default is lowercase. |