rc: use /fd/0 for standard-input instead of '#d/0' in non-interactive mode

This commit is contained in:
cinap_lenrek 2022-12-12 21:21:22 +00:00
parent 7054405409
commit a7b30a349b

View file

@ -32,7 +32,7 @@ if not if(flag i){
if(! ~ $#* 0) . $*
. -i /fd/0
}
if not if(~ $#* 0) . '#d/0'
if not if(~ $#* 0) . /fd/0
if not{
status=''
. $*