diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-15 15:48:14 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-15 15:48:14 -0500 |
commit | ac14dd1755c1408996faed3a19f84570af804b50 (patch) | |
tree | 06c659f4087032fd6d2ed5e4d3539d37aebeb66e /uxd.rst | |
parent | 9e30d05957cef3e621240886746574a35900abf9 (diff) | |
download | uxd-ac14dd1755c1408996faed3a19f84570af804b50.tar.gz |
implement UXD_OPTS and NO_COLOR environment vars, add -n option
Diffstat (limited to 'uxd.rst')
-rw-r--r-- | uxd.rst | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -46,6 +46,10 @@ These options can be used on the command line, and/or in the **UXD_OPTS** environment variable. The command line takes precedence over the environment. +Options can be bundled: **-ubc1234** is the same as **-u** **-n** **-c +1234**. The one exception is the **-n** option, which should appear +by itself. + -b Bold output. This may be more or less readable, depending on your terminal and its color settings. Ignored if **-m** given. @@ -73,6 +77,10 @@ over the environment. look too much like angry fruit salad. NOT IMPLEMENTED YET. +-n + Ignore **UXD_OPTS** environment variable. This option should not be + bundled with other options (e.g. use **-n -u**, not **-nu**). + -o offset Add this amount to the hex offsets (left column). May be negative, if you can think of a reason to want it to be. Can be given in @@ -237,13 +245,11 @@ ENVIRONMENT **UXD_OPTS** If this is set, its value is treated as a set of options, which get applied before any command-line options. - NOT IMPLEMENTED YET. **NO_COLOR** If this is set (to any value), **uxd** runs in monochrome mode, just as though the **-m** option were given. This variable is also respected by **xxd**. - NOT IMPLEMENTED YET. It's *not* necessary to have a UTF-8 locale set in e.g. **LANG** or **LC_ALL**. Also, the **TERM** variable is not used. |