--- ../2003-05-30-08/moz Tue Jun 17 20:42:03 2003 +++ moz Tue Jun 17 21:16:47 2003 @@ -1,6 +1,6 @@ #!/bin/sh appname=`basename "$0"` -ver="0.2.2RC1.2003053008" +ver="0.2.2RC1.2003061721" copy="2002, 2003" mail="PointedEars@gmx.de" mail_feedback="bug-moz@PointedEars.de" @@ -151,7 +151,7 @@ directory specified in the \`PATH' environment or in the current directory. If the option is left out, the default value can be - overwritten defining the \`MOZILLA_CMD' environment." \ + overwritten defining the \`MOZILLA_CMD' environment. No check is performed, neither on the option's argument nor on the environment." \ "\ @@ -189,11 +189,11 @@ and for Phoenix < 0.5. Users of other programs need to specify the binary in order to get \`moz' working with them. The following binaries are known: - + Netscape < 6.2.3 netscape-bin Phoenix 0.5 phoenix-bin Mozilla Firebird 0.6 MozillaFirebird-bin - + If the option is left out, the default value can be overwritten defining the \`MOZILLA_BIN' environment." \ "\ @@ -874,16 +874,7 @@ "nicht gefunden. Überprüfung auf \`mailto:'-URI nicht möglich.") >&2 else if [ -n "`echo "$uri" | grep "^mailto:"`" ]; then - address="$uri" - # checking for sed - chk=`which sed 2>/dev/null` - if [ $? -ne 0 ]; then - echo $appname": \`sed' "\ - $(L "not found. Cannot handle \`mailto:' URI properly." \ - "nicht gefunden. \`mailto:'-URI kann nicht richtig umgesetzt werden.") >&2 - else - address=`echo "$address" | sed "s/^mailto://"` - fi + address="${uri#mailto:}" cmd="mailto($address)" mailto=1 fi