aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Correct misnamed variableTom Ryder2017-10-261-1/+1
|
* Make rndi(1df) upper bound a little clearerTom Ryder2017-10-261-1/+2
|
* Document why fnl(1df) command is wrappedTom Ryder2017-10-131-1/+3
| | | | Because I forgot
* Add arg checks to chc(1df)Tom Ryder2017-08-211-0/+7
|
* Add missing slash to commentTom Ryder2017-08-211-1/+1
|
* Correct typo commentTom Ryder2017-08-081-1/+1
|
* Compatible stripping for onl(1df)Tom Ryder2017-08-081-2/+3
|
* Nicer handling of RFC control charsTom Ryder2017-08-081-4/+7
|
* Restore ^L-skipping codeTom Ryder2017-08-081-0/+4
|
* Correct previous commitTom Ryder2017-08-081-1/+1
| | | | Forgot to remove the square brackets
* Remove two more POSIX character classesTom Ryder2017-08-082-4/+1
| | | | Debian's ancient mawk doesn't support them
* Add dot and slash to legal mftl(1df) target charsTom Ryder2017-07-031-1/+1
|
* Remove some unneeded bracesTom Ryder2017-07-031-4/+2
|
* Remove unused var from mktd(1df)Tom Ryder2017-07-031-3/+0
|
* Work around mawk's srand() behaviourTom Ryder2017-07-032-2/+8
| | | | | | | Specific values for these tasks get chosen way more often than other in mawk, and it seems to be caused by the random seed being above a certain value. Not sure if it's a bug or how it interacts with the POSIX standard, but this seems to fix it.
* Correct some rndi(1df) referencesTom Ryder2017-07-023-8/+4
|
* Lots of cleanup of awk scriptsTom Ryder2017-07-0216-44/+117
| | | | Mostly inspired by suggestions from gawk --lint
* Coerce seed to numberTom Ryder2017-07-021-1/+1
|
* Remove null FS assignment from trs(1df)Tom Ryder2017-07-021-3/+0
| | | | | | gawk's --lint option complains: > awk: .dotfiles/bin/trs.awk:7: warning: null string for `FS' is a gawk extension
* Remove POSIX char classes from AwkTom Ryder2017-07-022-3/+3
| | | | | I forgot that Debian's awk(1) is still a mawk that doesn't implement e.g. [:alpha:]
* Correct Awk variable lvalue in mw(1df)Tom Ryder2017-07-011-1/+1
|
* Correct srand() arg countTom Ryder2017-07-011-1/+4
|
* Reimplement rndl(1df) in AwkTom Ryder2017-07-012-38/+29
| | | | | Removes the need for the temporary file. Also refactor pks(6df) to accommodate it.
* Work around no options terminal in POSIX chmod(1)Tom Ryder2017-07-011-1/+5
|
* Add oii(1df)Tom Ryder2017-06-291-0/+19
|
* Remove unneeded `command` prefixTom Ryder2017-06-251-1/+1
|
* Add a caveat to trs(1df)Tom Ryder2017-06-241-1/+1
|
* Make han(1df) exit, not returnTom Ryder2017-06-151-2/+2
|
* Clean up some exit statusesTom Ryder2017-06-153-4/+5
|
* Add missing `exit` call to igex(1df)Tom Ryder2017-06-151-0/+1
|
* Switch to using awk for line counting in dub(1df)Tom Ryder2017-06-141-2/+2
| | | | Seems a bit nicer, passing the variable in as data rather than code
* Add comment to p(1df)Tom Ryder2017-06-121-1/+2
|
* Add fnp(1df)Tom Ryder2017-06-121-0/+23
|
* Refactor urlh(1df) awk a bitTom Ryder2017-06-101-6/+3
|
* Force integer for dub(1df) limitTom Ryder2017-06-101-1/+1
|
* Make dub(1df) smarter, add a caveatTom Ryder2017-06-101-15/+11
|
* Remove unneeded semicolonsTom Ryder2017-06-061-3/+3
|
* More tidying for mi5(1df)Tom Ryder2017-06-041-10/+12
|
* Remove unneeded FD IDTom Ryder2017-06-041-1/+1
|
* Playing a little more golfTom Ryder2017-06-041-4/+2
|
* Significant improvements to mi5(1df)Tom Ryder2017-06-041-35/+102
| | | | | | | | | | | | A clunkier and probably-slower but more accurate parser--won't stumble over quoted instances of the mi5(1df) delimiter within inline macro expansions. This removes one of the CAVEATS described in the manual page. Also allow specifying the quote and unquote strings and also the dnl string in m4, mostly for completeness' sake; the manual page warns against this as I think it's probably missing the point of mi5(1df) if you're getting to that point.
* Add some missing parenthesesTom Ryder2017-06-031-1/+1
|
* Add rep(1df)Tom Ryder2017-06-031-0/+25
|
* Use full length($0) rather than just lengthTom Ryder2017-06-031-1/+1
| | | | | The latter is allowed by POSIX, but not historically accepted everywhere and the former being explicit is more readable anyway
* Nicer toggleTom Ryder2017-06-031-4/+2
|
* Check presence of delimiters correctlyTom Ryder2017-06-031-2/+1
|
* Remove misplaced shebangsTom Ryder2017-06-022-2/+0
|
* Remove regex operations on mi5(1df) delimsTom Ryder2017-06-021-4/+4
|
* Allow custom delimiters for mi5(1df)Tom Ryder2017-06-021-10/+16
|
* Implemented an ideaTom Ryder2017-06-021-18/+36
| | | | Slightly cleverer parsing for mi5