From 6d2ed7484a29e5a093f24dd5fbbe3522029b4816 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 15 Dec 2024 05:06:41 -0500 Subject: implement -s and -S (seek) options. --- uxd.1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'uxd.1') diff --git a/uxd.1 b/uxd.1 index eb8b99c..67c1881 100644 --- a/uxd.1 +++ b/uxd.1 @@ -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. -- cgit v1.2.3