diff options
Diffstat (limited to 'share/hackvr/examples/tictactoe/game.sh')
-rwxr-xr-x | share/hackvr/examples/tictactoe/game.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hackvr/examples/tictactoe/game.sh b/share/hackvr/examples/tictactoe/game.sh index 63776f4..8c741fc 100755 --- a/share/hackvr/examples/tictactoe/game.sh +++ b/share/hackvr/examples/tictactoe/game.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash turn=$( expr $RANDOM % 2) -cat camera.pos | sed 's/^junk/$USER/g' +cat camera.pos echo "go. player: $turn" >&2 stdbuf -oL uniq \ | grep --line-buffered action \ |