I did but I was wrong. I think japhy's is actually fine as long as the those are real spaces in the original and not tabs. I think most df commands do use spaces and mine relied on the same thing. Unfortunately, two \bs won't work either. They break on the disk utilization percentage. My original reply breaks on it too because I don't match a space after the number. Matching either a \b or a \s before the number and a \s after it would work.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: One-liner (or few-liner) for massaging regexps?
by sauoq
in thread One-liner (or few-liner) for massaging regexps?
by chewtoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |