14 Commits

Author SHA1 Message Date
33adddf019 Cleanup makefile 2025-12-06 14:54:50 +01:00
6061556d39 Add shell expansion for output lines
Do shell expansion for output lines (|, @ and ?), so that it is possible to
evaluate arbitrary shell expressions.

Other fixes included:
- Don't assume ksh is in bin.
- Eval commands using the standard shell instead of ksh.
- Make sure we delete temp files; also avoid creating a temp file per line.
- Don't print ? output if return status is 0.
- Fix literal \? match when evaluating lines.
2025-11-28 22:42:48 +01:00
8afe36016a Don't override prefix if already provided 2025-11-22 17:59:35 +01:00
b3e848efe8 Delete rr script
Use instead `rr` in the `kshutils` repository.
2025-11-22 17:42:52 +01:00
61efff731f p - Don't ask for command when finished, exit directly 2024-07-05 17:01:11 +02:00
bd5a149cc0 Update Makefile 2024-06-17 12:11:51 +02:00
54217f9944 Accept commands with no arguments 2024-06-17 12:11:11 +02:00
66c1da49fb Send OSC escape sequences 2024-06-17 12:10:42 +02:00
9465227fe7 Plan 9's p pager
Useful for dumb terminals (e.g. `shell` under Emacs).
2024-06-17 12:06:09 +02:00
3e32f1b04e pick - Select one entry from stdin and/or argv
Pick will take stdin and all command line arguments and display a
ksh-like selection menu will all input lines/arguments.
2023-09-13 14:33:21 +02:00
34cfc3cf12 scmfmt - Use par instead of fmt and increase default width
The `-p` option is only available in OpenBSD. As there's no standard
way of ignoring lines by prefix, use `par`, which at least will be
installable almost everywhere.
2023-09-12 17:02:57 +02:00
7dcf64ef11 Add newp (new post) and ts (shell test) tools
newp is a dump shortcut that will create a new ms article.

ts is a tool similar to cram or tush.
2022-10-04 14:22:52 +00:00
7c59191590 Add RR: run command until failure 2022-06-10 10:00:05 +02:00
710062d6e1 Initial commit 2022-06-08 10:07:41 +00:00