BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Bug report: bb-network.sh: http: exclamation mark in URL
Wouldn't the simpler fix to do this instead?
case $1
in
*!* )
arg=`echo $1 | $SED 's/^!//g'`
TESTREVERSED=TRUE
;;
*)
arg=$1
TESTREVERSED=FALSE
;;
esac
I haven't reviewed the code, but that's my first impression...
Regards,
Ben Pitzer
On Thu, 24 Mar 2005 12:47:00 +0200, Ralf.Strandell@silja.com
<Ralf.Strandell@silja.com> wrote:
> Hi,
>
> bb-network.sh currently does not understand URLs that contain exclamation
> marks. The fix is simple:
>
> In bb-network.sh:
> Change:
>
>
> To:
> case $1
> in
> http* )
> # http arg can contain an !
> arg="$arg"
> TESTREVERSED=FALSE
> ;;
> *!* )
> arg=`echo $1 | $SED 's/!//g'`
> TESTREVERSED=TRUE
> ;;
> *)
> arg=$1
> TESTREVERSED=FALSE
> ;;
> esac
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index