code: plan9front

Download patch

ref: 705440540948df99157848f71c432e3e7034457b
parent: 3f8c15b01d2688cbb5b1d6a323b76c890647f228
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 15:54:53 EST 2022

rc: read standard-input from /fd/0 instead of '#d/0'

--- a/rc/lib/rcmain
+++ b/rc/lib/rcmain
@@ -30,7 +30,7 @@
 	}
 	status=''
 	if(! ~ $#* 0) . $*
-	. -i '#d/0'
+	. -i /fd/0
 }
 if not if(~ $#* 0) . '#d/0'
 if not{