From 2f76383e32404c29b42345de5f7e2dc939f5e2ae Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 12 Jan 2021 22:57:55 -0500 Subject: Use hilex for up -h --- bin/man1/up.1 | 6 +++--- bin/up.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/man1/up.1 b/bin/man1/up.1 index 58b5359f..8b50c271 100644 --- a/bin/man1/up.1 +++ b/bin/man1/up.1 @@ -1,4 +1,4 @@ -.Dd July 15, 2019 +.Dd January 12, 2021 .Dt UP 1 .Os . @@ -49,7 +49,7 @@ Run a command to produce a text file for upload. .It Fl h Use -.Xr hi 1 +.Xr hilex 1 to produce an HTML file for upload. .It Fl s Use @@ -70,7 +70,7 @@ to produce an HTML file for upload. Any arguments after .Ql \-\- are passed to -.Xr hi 1 +.Xr hilex 1 and .Xr screencapture 1 , respectively. diff --git a/bin/up.sh b/bin/up.sh index e65d4522..562ab489 100644 --- a/bin/up.sh +++ b/bin/up.sh @@ -32,10 +32,10 @@ uploadCommand() { upload "${temp}/exec.txt" } -uploadHi() { +uploadHilex() { temp - hi -f html -o document,anchor,tab=4 "$@" > "${temp}/hi.html" - upload "${temp}/hi.html" + hilex -f html -o document,tab=4 "$@" > "${temp}/hilex.html" + upload "${temp}/hilex.html" } uploadScreen() { @@ -61,7 +61,7 @@ uploadTerminal() { while getopts 'chst' opt; do case "$opt" in (c) fn=uploadCommand;; - (h) fn=uploadHi;; + (h) fn=uploadHilex;; (s) fn=uploadScreen;; (t) fn=uploadTerminal;; (?) exit 1;; -- cgit 1.4.1 ='/src/diff/doc/zlib/inflateMark.3?id=9932abb09e3204d6cbd44c92f3678b6184625693&follow=1'>diff
path: root/doc/zlib/inflateMark.3 (unfollow)
Commit message (Collapse)Author
2021-09-15Enter capsicum in downgradeJune McEnroe
2021-09-15Factor out common parts of downgrade messagesJune McEnroe
Also bump the message cap to 1024 because that is ostensibly useful for replying to older messages.
2021-09-14Add downgrade IRC botJune McEnroe
2021-09-14Sort by title if authors matchJune McEnroe
There are probably better things to sort by but title definitely always exists.
2021-09-13Swap-remove tags as they're foundJune McEnroe
This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s.
2021-09-12Replace htagml regex with strncmpJune McEnroe
Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win!
2021-09-11Also defer printing comment for lone close-parensJune McEnroe
2021-09-10Publish "git-comment"June McEnroe
2021-09-10Add git comment --pretty optionJune McEnroe
2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe
This fixes badly indented comments.
2021-09-08Up default min-repeat to 30 linesJune McEnroe
2021-09-08Handle dirty lines in git-commentJune McEnroe
2021-09-08Document and install git-commentJune McEnroe
2021-09-08Add repeat and all options to git-commentJune McEnroe
2021-09-08Add group threshold to git-commentJune McEnroe