🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1132

Re: Breaking large file into pieces

#1132
From: Bob Peirce #305
Date: Thu, 13 Sep 1990 15:38
14 lines
1167 bytes
In article <9466@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes:
>In article <1990Sep11.134238.20218@dg-rtp.dg.com> monroe@dg-rtp.dg.com (Mark A Monroe) writes:
>: I want to rip a large file into pieces, naming new files according
>: to an ID string in the large file.  For example, the large file contains
>: records that look like this:
>: 
>: Any suggestions?  
>
>In standard shell+awk+sed it's a bit hard because you run out of file
>descriptors.
In nawk you can close the old file before you open the new.
-- 
Bob Peirce, Pittsburgh, PA				  412-471-5320
...!uunet!pitt!investor!rbp			rbp@investor.pgh.pa.us
Technical Details
Message-ID: <1990Sep13.153834.27866@investor.pgh.pa.us>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!darth!investor!rbp
References: <1990Sep11.134238.20218@dg-rtp.dg.com> <9466@jpl-devvax.JPL.NASA.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!darth!investor!rbp
From: rbp@investor.pgh.pa.us (Bob Peirce #305)
Newsgroups: comp.unix.shell
Subject: Re: Breaking large file into pieces
Message-ID: <1990Sep13.153834.27866@investor.pgh.pa.us>
Date: 13 Sep 90 15:38:34 GMT
References: <1990Sep11.134238.20218@dg-rtp.dg.com> <9466@jpl-devvax.JPL.NASA.GOV>
Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305)
Organization: Cookson, Peirce & Co., Pittsburgh, PA
Lines: 14