diff options
Diffstat (limited to '')
-rwxr-xr-x | doc/rat-cursors/get-hotspot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/rat-cursors/get-hotspot b/doc/rat-cursors/get-hotspot index bc6cc96..592affd 100755 --- a/doc/rat-cursors/get-hotspot +++ b/doc/rat-cursors/get-hotspot @@ -2,8 +2,8 @@ data="$(cat)" -y=$(echo "${data}" | grep -n @ | cut -d : -f 1) -x=$(echo "${data}" | grep -n @ | cut -d : -f 2 | sed 's/ /\n/g' | grep -n @ | cut -d : -f 1) +y=$(echo "${data}" | grep -n O | cut -d : -f 1) +x=$(echo "${data}" | grep -n O | cut -d : -f 2 | sed 's/ /\n/g' | grep -n O | cut -d : -f 1) echo x: $(expr $x - 1) echo y: $(expr $y - 1) |