Comment 5 for bug 37392

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

One minor fix--that command-line example should read:

$ curl "http://www.cups.org/str.php?L2780" 2>/dev/null|egrep "^<tr><th align='right' valign='top' nowrap>(Status|Priority)"|sed -e 's#<[^>]*>##g'
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software

Only one invocation of egrep is necessary.