On 2010-08-12 11:25 , Michael Gersten wrote:
Lets see. If you are not looking at the header line,

/^Pages /

look only at lines starting "Pages " (skips header, Pageouts, Pageins)

then first do nothing;

the first semicolon is superfluous -- still works if you take it out

then, do a null substitution;

s///;

replaces "Pages " (last regex used) with nothing

then change ... ¿the end of the line? into nothing

s/\.$//;

delete the period at the end of the line

Finally, do nothing again.

p;

print the result (since -n has suppressed output)

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to