summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/tictactoe/game.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/tictactoe/game.sh')
-rwxr-xr-xshare/hackvr/examples/tictactoe/game.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hackvr/examples/tictactoe/game.sh b/share/hackvr/examples/tictactoe/game.sh
index 0ad81f9..68df498 100755
--- a/share/hackvr/examples/tictactoe/game.sh
+++ b/share/hackvr/examples/tictactoe/game.sh
@@ -2,9 +2,9 @@
turn=$( expr $RANDOM % 2)
cat camera.pos board
echo "go. player: $turn" >&2
-stdbuf -oL uniq \
- | grep --line-buffered action \
- | stdbuf -oL cut '-d ' -f1,3 | while read user group;do
+grep --line-buffered action \
+ | while read user derp group;do
+ echo FUCK >&2
if grep "_reset" <<<$group >/dev/null;then
printf "%s deleteallexcept .\n" "$user"
cat board