aboutsummaryrefslogtreecommitdiffstats
path: root/blind-rotate-270
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xblind-rotate-2704
1 files changed, 2 insertions, 2 deletions
diff --git a/blind-rotate-270 b/blind-rotate-270
index 77305ca..4c97b96 100755
--- a/blind-rotate-270
+++ b/blind-rotate-270
@@ -12,7 +12,7 @@ if ! test $# = 0; then
fi
fi
-transpose="$(printf '%s\n' "$0" | sed 's/[^/]*$/blind-transpose/')"
-flop="$( printf '%s\n' "$0" | sed 's/[^/]*$/blind-flop/')"
+transpose="$(printf '%s\n' "$0" | tr '/\n' '\n/' | sed '$s/^.*$/blind-transpose\//' | tr '/\n' '\n/')"
+flop="$( printf '%s\n' "$0" | tr '/\n' '\n/' | sed '$s/^.*$/blind-flop\//' | tr '/\n' '\n/')"
"$flop" | "$transpose"