I am trying to write a script that reads blcli commands from a named pipe.
I try the following interactively on Network Shell, and it works fine. If I put it in a script, and run that, I get:
./simple.nsh~:6: can't open /dev/null: no such file or directory
Here is simple.nsh:
blcli -m subshell </tmp/blcli.in >/tmp/blcli.out &
echo Server listAllServers >/tmp/blcli.in
echo Exit >/tmp/blcli.in