Am Mittwoch 01 August 2018 schrieb Michael:
and modifying the '/usr/bin/ni' script to:
michael@local [~]# cat /usr/bin/no-internet
#!/bin/bash
COMMAND="$1"
shift
for arg; do
COMMAND="$COMMAND \"$arg\""
done
sg no-internet "$COMMAND"
Why not just:
sg no-internet "$@"
which would do the same as the code above, AFAIU.
Kind regards,
Stefan