Phase 2: jobs and history as values, redirections of value commands
- jobs and history are value sources in a pipe; alone they write text. - < on the first value command of a group, > and >> on the last, which then writes lines. A value command after > is an error. - File errors use fs-error-message, without a stack trace. - plan.org: Ctrl-C does not cancel a blocking read of a terminal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
027acc84e6
commit
acd84a2a4c
8 changed files with 252 additions and 71 deletions
|
|
@ -77,7 +77,7 @@
|
|||
(defun (run-file args)
|
||||
(match (file-read-text (vec-ref args 0))
|
||||
((Ok text) (run-script (make-shell None None args) text))
|
||||
((Err e) (shell-error (str (vec-ref args 0) ": " (written e))) 127)))
|
||||
((Err e) (shell-error (fs-error-message e)) 127)))
|
||||
|
||||
(defun (main args)
|
||||
(cond
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue