On Fri, 24 Feb 2006, Hamilton, David (TSG C&I) wrote:
> The 'tail -6 | head -5 ' was to take the last 5 lines of actual data and
> lose the line of ================================ at the bottom :-)
> Not the most scientific solution I'm sure, but serves its purpose.
> The (tr ',\n' + echo 0) put's each of the entries on a new line, so even
> if I did use the awk statement you suggest, I'd still need something
> like it. (I think)
Uh, no - cause awk can do the addition just fine.
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
Somebody's terminal is dropping bits. I found a pile of them over in the
corner.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!