diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-08-25 08:31:36 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-08-25 08:31:36 +0100 |
commit | 4a7c946b70744994f4f9e84e12fb64954396b7fc (patch) | |
tree | c83c4e017df5620c607c0ca85c613a85f7877535 | |
parent | b87918d253f84808782bef0327a0d3b3487e839f (diff) |
Fixed bug
-rw-r--r-- | hack_of_all_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks index 0031140..b6cca3e 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -207,7 +207,7 @@ EOF "${my_own_name}: when did you last see"* ) subject="${sentence##${my_own_name}: when did you last see }" subject="${subject##${my_own_name}: when did you last see: }" # If there's an `:', we can still handle it. - subject="${subject%?}" + subject="${subject%\?}" subject="${subject%% *}" if [[ "${subject}" == ${my_own_name} ]] then |