Hi Tim,
Thanks for your response. But it is not deleting the
1st 6 lines.
See below

$
$ cat x
12
22
32
42
52
62
72
82
92
 
$
$ sed '6,$p' x    
12
22
32
42
52
62
62
72
72
82
82
92
92
 
$ 



--- Tim Gorman <[EMAIL PROTECTED]> wrote:
> sed '6,$p' filename > new-filename
> 
> on 9/14/03 7:49 AM, Oracle DBA at
> [EMAIL PROTECTED] wrote:
> 
> > Hi List,
> > 
> > I want to remove the first 5 lines of the text
> from
> > unix text file. Is there a command to do it
> without
> > opening a file manually? (I don't want to use (DD
> > command)
> > 
> > For example,
> > ==============
> > 1 to be removed
> > 2 to be removed
> > 3 to be removed
> > 4 to be removed
> > 5 to be removed
> > aaaaaaaaaaaaaaaaa
> > sssssssssssssssss
> > eeeeeeeeeeeeeeee
> > ==============
> > 
> > Any help would be really appreciated.
> > TIA
> > Sami
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> -- 
> Author: Tim Gorman
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051
> http://www.fatcity.com
> San Diego, California        -- Mailing list and web
> hosting services
>
---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Oracle DBA
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to