> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Angus Lees
> Sent: Friday, 7 January 2000 16:47
> To: [EMAIL PROTECTED]
> Subject: Re: [SLUG] Re: addition using script file
..deleted
> expr 0 `sed -n '3,6s/^.*\([0-9]\+\)$/+ \1/p' < file`
Yes! Yes! Yes!
A single command line, completely correct and obvious to the cognoscenti,
whilst being absolutely impenentrable to those who haven't spent years
writing SED scripts.
The ultimate expression of the Unix operating system. I stand humbled...
Regards,
Craig Southeren
-------------------------------------------
Equivalence - Home of FireDoor, MibMaster & PhonePatch
For Open Source H.323 - see http://www.openh323.org
Email: [EMAIL PROTECTED]
Web: http://www.equival.com.au
Fax: +61 2 4368 1395 Voice: +61 2 4368 2118
-----------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text