summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-08-29 18:52:06 -0400
committerJune McEnroe <june@causal.agency>2019-08-29 18:52:06 -0400
commit40d3e95e80e4f975eb6840bdb626fae80f5d2fab (patch)
tree2e59eab594fdd14e11de1226888d88706ef7d6ed /bin
parentAdd edit (diff)
downloadsrc-40d3e95e80e4f975eb6840bdb626fae80f5d2fab.tar.gz
src-40d3e95e80e4f975eb6840bdb626fae80f5d2fab.zip
Add long-missing setopt to bin.7
Diffstat (limited to 'bin')
-rw-r--r--bin/README3
-rw-r--r--bin/bin.729
-rw-r--r--bin/man1/setopt.12
3 files changed, 6 insertions, 28 deletions
diff --git a/bin/README b/bin/README
index 240dd757..c534e7dc 100644
--- a/bin/README
+++ b/bin/README
@@ -26,8 +26,9 @@ DESCRIPTION
      psf2png(1)  PSF2 to PNG renderer
      psfed(1)    PSF2 font editor
      ptee(1)     tee for PTYs
-     relay(1)    IRC relay
+     relay(1)    IRC relay bot
      scheme(1)   color scheme
+     setopt(1)   quoting getopt
      shotty(1)   terminal capture
      ttpre(1)    man output to HTML
      up(1)       upload file
diff --git a/bin/bin.7 b/bin/bin.7
index 0d7a1bae..4d2d5ac7 100644
--- a/bin/bin.7
+++ b/bin/bin.7
@@ -18,79 +18,56 @@ Some tools target Linux.
 .Bl -tag -width "fbclock(1)" -compact
 .It Xr aes 1
 fullwidth output
-.
 .It Xr beef 1
 Befunge-93 interpreter
-.
 .It Xr bit 1
 calculator
-.
 .It Xr bri 1
 backlight brightness control
-.
 .It Xr dtch 1
 detached sessions
-.
 .It Xr edit 1
 interactive script
-.
 .It Xr ever 1
 watch files
-.
 .It Xr fbatt 1
 framebuffer battery indicator
-.
 .It Xr fbclock 1
 framebuffer clock
-.
 .It Xr glitch 1
 PNG glitcher
-.
 .It Xr hi 1
 syntax highlighter
-.
 .It Xr hnel 1
 PTY input remapper
-.
 .It Xr modem 1
 fixed baud rate wrapper
-.
 .It Xr order 1
 operator precedence
-.
 .It Xr pbd 1
 macOS pasteboard daemon
-.
 .It Xr pngo 1
 PNG optimizer
-.
 .It Xr psf2png 1
 PSF2 to PNG renderer
-.
 .It Xr psfed 1
 PSF2 font editor
-.
 .It Xr ptee 1
 tee for PTYs
-.
 .It Xr relay 1
-IRC relay
-.
+IRC relay bot
 .It Xr scheme 1
 color scheme
-.
+.It Xr setopt 1
+quoting getopt
 .It Xr shotty 1
 terminal capture
-.
 .It Xr ttpre 1
 man output to HTML
-.
 .It Xr up 1
 upload file
-.
 .It Xr when 1
 date calculator
-.
 .It Xr xx 1
 hexdump
 .El
diff --git a/bin/man1/setopt.1 b/bin/man1/setopt.1
index a148b28f..246f06fe 100644
--- a/bin/man1/setopt.1
+++ b/bin/man1/setopt.1
@@ -4,7 +4,7 @@
 .
 .Sh NAME
 .Nm setopt
-.Nd parse command options
+.Nd quoting getopt
 .
 .Sh SYNOPSIS
 .Nm
follow=1'>Use hi -o anchor in upJune McEnroe 2019-02-18Don't match nested parentheses in Tag for CJune McEnroe Fixes mistaken highlight of: pngWrite(file, (uint8_t []) { 0, 0, 0 }, 3); 2019-02-18Match whitespace between * [] {}June McEnroe 2019-02-18Fix function-like #define regexJune McEnroe A define like #define FOO (1) is not function-like. 2019-02-18Match Tag in RustJune McEnroe 2019-02-18Match sh functions as TagJune McEnroe 2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe 2019-02-18Match statics and typedefs as TagJune McEnroe 2019-02-18Clean up htmlHeaderJune McEnroe 2019-02-18Remove hi line numberingJune McEnroe Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>. 2019-02-18Add Tag class to hiJune McEnroe 2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well. 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe