On Mon, 5 Mar 2007, Mário Gamito wrote:

> I'm no PERL guru, far from that, i must confess.
> I just use it in little things for system administration.
> 
> Now, i', trying to remove the last line of a file with:

Don't become entranced by a single tool.

You should be able to combine "head" and "wc" to do this.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]    FALaholic #11174     pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  News flash: Lowest Common Denominator down 50 points
-----------------------------------------------------------------------
 8 days until Albert Einstein's 128th Birthday

Reply via email to