Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 02:10:19 +0100
From:      Bernd Luevelsmeyer <bdluevel@heitec.net>
To:        Tony <tony@idk.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: removing last line
Message-ID:  <20011128011019.3EB7BB8101@christel.heitec.net>
References:  <200111272155.NAA08579@idk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tony wrote:
> 
> I need a way of removing just the last line in a text file using a csh
> script.
> 
> Any ideas?

sed -ne\$q -ep

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011128011019.3EB7BB8101>