aboutsummaryrefslogtreecommitdiffstats
path: root/doc/rat-cursors/get-hotspot
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdoc/rat-cursors/get-hotspot4
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)