Article View: comp.unix.large
Article #274Re: need help on unix
From: Irving Chidsey
Date: Tue, 11 Jun 1991 12:06
Date: Tue, 11 Jun 1991 12:06
27 lines
1544 bytes
1544 bytes
In article <1991Jun11.005353.22061@unixg.ubc.ca> wangf@unixg.ubc.ca (Frank Wang) writes: <Is that possible to delete some lines from a file (the file is so large that <it's impossible to use any editor) without evoking any editors? < <Thanx in advance. Yes, there is an editor defined just for that purpose. 'sed' is a stream editor, it reads the file one line at a time, does its thing, and writes to a new file. One problem, you must be able to define the lines you want to delete using standard 'ed' commands. I believe you can also use fsplit to split the file into digestable chunks. Try 'man sed' and 'man fsplit' if you have on line manuals. Every once and a while un*x does something right, like an editor for files too big to edit. Irv -- I do not have signature authority. I am not authorized to sign anything. I am not authorized to commit the BRL, the DA, the DOD, or the US Government to anything, not even by implication. They do not tell me what their policy is. They may not have one. Irving L. Chidsey <chidsey@brl.mil>
Technical Details
Message-ID:
<16383@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!yale!cmcl2!adm!smoke!chidseyReferences:
<1991Jun11.005353.22061@unixg.ubc.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!yale!cmcl2!adm!smoke!chidsey From: chidsey@smoke.brl.mil (Irving Chidsey) Newsgroups: comp.unix.large Subject: Re: need help on unix Message-ID: <16383@smoke.brl.mil> Date: 11 Jun 91 12:06:57 GMT References: <1991Jun11.005353.22061@unixg.ubc.ca> Distribution: na Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 27