Summary: | net-analyzer/mrtg init script fails with UTF-8 locale and bash-3.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars T. Mikkelsen <ltm> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mrtg.rc.patch |
Description
Lars T. Mikkelsen
2007-01-02 15:07:35 UTC
Created attachment 105248 [details, diff]
mrtg.rc.patch
Replace with a grep Fix in cvs Thanks, the fix works. Closing bug. better, use this: echo "$LANG" | grep -E '((^[A-Za-z0-9\_\@\-]+\.)|(^))([uU][tT][fF]-?8)$' && LANG='C' it's faster and needn't the [[ ]]-crap. |