From 593e9e63717506da967dccd617bbab3717f7a6e8 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 1 Nov 2017 02:56:54 -0500 Subject: I do not remember. it works better though! --- tictactoe/run | 1 + 1 file changed, 1 insertion(+) (limited to 'tictactoe/run') diff --git a/tictactoe/run b/tictactoe/run index d719f2e..73655dd 100755 --- a/tictactoe/run +++ b/tictactoe/run @@ -19,6 +19,7 @@ stdbuf -oL cat board p | ../src/hackvr_x11 "$USER" \ cat "marker$turn" printf "%s move %s %s 0\n" "_marker" "$(expr "$translatex")" "$(expr "$translatey" - 2 )" printf "%s move %s %s 0\n" "_marker" "$(expr "$translatex")" "$(expr "$translatey" - 2 )" >/dev/stderr + grep "$group" board | sed "s/$group/_marker2/g" printf "%s renamegroup _marker _marker%s%s\n" "$USER" "$(date +%s)" "$RANDOM" fi done > p -- cgit v1.2.3