ref: a7b30a349b6388b2eed6a735d3248eeba5198baa
parent: 705440540948df99157848f71c432e3e7034457b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 16:21:22 EST 2022
rc: use /fd/0 for standard-input instead of '#d/0' in non-interactive mode
--- a/rc/lib/rcmain
+++ b/rc/lib/rcmain
@@ -32,7 +32,7 @@
if(! ~ $#* 0) . $*
. -i /fd/0
}
-if not if(~ $#* 0) . '#d/0'
+if not if(~ $#* 0) . /fd/0
if not{
status=''
. $*