Package: remind
Version: 03.00.22-4sarge1
Severity: normal
Tags: patch

The /usr/bin/rem script lets the shell expand the repeat parameter.
The repeat parameter '*rep' is expanded by bash if a suitable match is
found.

If there is a file matching "*7" (ie. foo7), the repeat
parameter '*7' will be expanded to this filename, and remind won't
understand the input.

example:
$ touch foo7
$ rem '*7'

The obvious patch is here. It simply avoids the expansion by quoting
the PARAMETERS variable.


--- /usr/bin/rem        2005-05-05 10:13:09.000000000 +0200
+++ rem 2005-05-26 10:25:51.313915129 +0200
@@ -42,4 +42,4 @@
        esac
 done

-$EXECUTABLE "[EMAIL PROTECTED]" $DEFAULT $PARAMETERS
+$EXECUTABLE "[EMAIL PROTECTED]" $DEFAULT "$PARAMETERS"

-- 
Frederik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to