[Bug 152071] /etc/NetworkManager/dispatcher.d/ netcontrol_services regex too greedy
https://bugzilla.novell.com/show_bug.cgi?id=152071#c12 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Status Whiteboard| |OU 10.3 --- Comment #12 from Christian Zoz <zoz@novell.com> 2007-10-05 01:32:18 MST --- Oh well, parsing output is always @$*%)!$# ... Your patch is absolutely right. And it fits better to comment 9. Thanks a lot, Jon. Fixed in svn: --- scripts/netcontrol_services (Revision 1594) +++ scripts/netcontrol_services (Arbeitskopie) @@ -32,6 +32,6 @@ test -r ./config && . ./config test -r scripts/functions && . scripts/functions -E="`iwconfig ${1} 2>/dev/null | sed -n 's/^.*ESSID:\"\(.*\)\".*$/\1/p'`" +E="`iwconfig ${1} 2>/dev/null | sed -n 's/^.*ESSID:\"\([^\"]*\)\".*$/\1/p'`" info_mesg "calling 'if${2}-services ${1}${E:+-$E}'" scripts/if${2}-services "${1}${E:+-$E}" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com