summaryrefslogtreecommitdiff
path: root/bin/ii-connect
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ii-connect')
-rwxr-xr-xbin/ii-connect4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ii-connect b/bin/ii-connect
index cfe5043..867381e 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -51,10 +51,10 @@ if [ "$1" = 'watch' ]; then
else
prefix=''
fi
- regex='^\S\+ \S\+ <\S\+> '"${prefix}"'why[- ]don'"'"'\?t[- ]you \(build\|stabilize\|unstage\|keep\|stubbornly_keep\) '
+ regex='^\(\S\+ \)\?\S\+ <\S\+> '"${prefix}"'why[- ]don'"'"'\?t[- ]you \(build\|stabilize\|unstage\|keep\|stubbornly_keep\) '
if grep -q "${regex}" "${out_file}"; then
sed -n '
- s/'"${regex}"'/\1 /
+ s/'"${regex}"'/\2 /
T
p
' "${out_file}" | \