#653: system/mountroot/rootrw: parsing /proc with mawk fails
-----------------------------------+----------------------------------------
Reporter: biebl | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Bugs in initng-ifiles | Version: initng-0.6.7
Severity: normal | Keywords:
-----------------------------------+----------------------------------------
The regexp
{{{
/usr/bin/awk 'NF && $1!~/^#/ && $2!~/^\/(|proc|sys|dev)$/ {print $2}'
/proc/mounts
}}}
fails on Ubuntu/Debian (running mawk) with the following error message:
{{{
awk: line 1: regular expression compile failed (missing operand)
^/(|proc|sys|dev)$
}}}
The same expression compiles fine with gawk.
--
Ticket URL: <http://www.initng.org/ticket/653>
InitNG <http://www.initng.org/>
The Next Generation InitSystem_______________________________________________
Tickets mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/tickets