Re: removing lines from a file
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 06/28/04
- Next message: Ted Timar: "Unix - Frequently Asked Questions (Contents) [Frequent posting]"
- Previous message: Stephane CHAZELAS: "Re: removing lines from a file"
- In reply to: RMH: "removing lines from a file"
- Next in thread: Ed Morton: "Re: removing lines from a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 18:11:26 GMT
On 28 Jun 2004 09:18:58 -0700, RMH <haithem.rahmani@st.com> wrote:
>
>
> Hi all,
>
> Does someone Know how can I remove the two last lines from a file and
> save the modification?
>
> shell script if possible
>
> else
>
> sed command
>
>
Do you mean the last two lines, or the last two lines that are not
empty?
>
>
>
> GNU:((GNU Not Unix)Not Unix) not UNIX
GNU is certainly Unix. Linux is a clone of Unix.
"A rose by any other name would smell as sweet."
AC
- Next message: Ted Timar: "Unix - Frequently Asked Questions (Contents) [Frequent posting]"
- Previous message: Stephane CHAZELAS: "Re: removing lines from a file"
- In reply to: RMH: "removing lines from a file"
- Next in thread: Ed Morton: "Re: removing lines from a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|