shithub: 8080

Download patch

ref: fd4f5b1a9a7f81825a5023b251a2e788e986e49c
parent: df6478340d048ba76ab8e96aaaf490930a778eae
author: Alex Musolino <alex@musolino.id.au>
date: Mon May 8 22:46:50 EDT 2023

test.rc: use HEREDOC instead of echoing each command

--- a/test.rc
+++ b/test.rc
@@ -1,2 +1,5 @@
 #!/bin/rc
-mk && {echo load; echo run} | 6.out
+mk && 6.out >out.log <<EOF
+load
+run
+EOF