BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} Bug report: bb-network.sh: http: exclamation mark in URL



Hi,

bb-network.sh currently does not understand URLs that contain exclamation
marks. The fix is simple:

In bb-network.sh:
Change:
                case $1
                in
                        *!* )
                                arg=`echo $1 | $SED 's/!//g'`
                                TESTREVERSED=TRUE
                                ;;
                        *)
                                arg=$1
                                TESTREVERSED=FALSE
                                ;;
                esac

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.


Home | Main Index | Thread Index