Skip to content

Commit

Permalink
some really lame shells have trouble with $@
Browse files Browse the repository at this point in the history
  • Loading branch information
jbicket committed Mar 2, 2006
1 parent ae38c92 commit 516eca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/wifi/write_handler
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ if [ $# -lt 2 ]; then
exit 1
fi

printf "write $@\nquit\n" | nc 127.0.0.1 7777|grep "Click::ControlSocket"|grep "200 Write handler"|grep "200 Goodbye"
ARGS=$@
printf "write $ARGS\nquit\n" | nc 127.0.0.1 7777|grep "Click::ControlSocket"|grep "200 Write handler"|grep "200 Goodbye"

0 comments on commit 516eca2

Please sign in to comment.