1
2
#### oilrc
3
cat >$TMP/oilrc <<EOF
4
proc f {
5
if ('foo') {
6
echo oilrc
7
}
8
}
9
f
10
EOF
11
$SH --rcfile $TMP/oilrc -i -c 'echo hello'
12
## STDOUT:
13
oilrc
14
hello
15
## END