diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-04-04 19:48:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-04-04 19:48:34 -0700 |
commit | 9e42e3c971c2c1c69d2e03752735bbbd24007b6b (patch) | |
tree | 7c5cfb7bce92ce9e4c807127a41f7031ac75ad4d /autoload.c | |
parent | d01e894af245c7f8df9b193b482150a1b9725f1c (diff) | |
download | txr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.tar.gz txr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.tar.bz2 txr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.zip |
New functions for filtering through external processes.
* stdlib/getput.tl (sys:maproc-common): new function.
(map-command-lines, map-command-str, map-command-buf,
map-process-lines, map-process-str, map-process-buf):
New functions.
* autoload.c (getput_set_entries): Trigger autoload
of getput module on new function symbols.
* tests/018/getput.tl: New tests.
* txr.1: Documented.
Diffstat (limited to 'autoload.c')
-rw-r--r-- | autoload.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -477,6 +477,8 @@ static val getput_set_entries(val fun) lit("command-get-buf"), lit("command-put-buf"), lit("command-get-json"), lit("command-put-json"), lit("command-get-jsons"), lit("command-put-jsons"), + lit("map-command-lines"), lit("map-process-lines"), lit("map-command-str"), + lit("map-process-str"), lit("map-command-buf"), lit("map-process-buf"), lit("close-lazy-streams"), nil }; |