Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!ncar!bierstadt.scd.ucar.edu!morreale From: morreale@bierstadt.scd.ucar.edu (Peter Morreale) Newsgroups: comp.unix.wizards Subject: Too much Text for sed? Message-ID: <8314@ncar.ucar.edu> Date: 24 Aug 90 02:51:42 GMT Sender: news@ncar.ucar.edu Reply-To: morreale@bierstadt.scd.ucar.edu (Peter Morreale) Organization: Scientific Computing Division/NCAR, Boulder, CO Lines: 27 I am trying to solve a sed problem for a user. The sed commands file contains 188 lines of various editing commands, and the source file contains 2.4k lines. When I apply the sed commands to the source, I get a: Too much text: [some sed command] Is there an upper limit to the number of commands sed can handle? I've read the BSD doc about sed (and several others as well), none imply that there are limits of some kind... From testing I've found that the failure occurs relative to the amount of text in the sed commands file. (Details: UNICOS 5.1) Any insight appreciated... Thanks, -PWM -- ------------------------------------------------------------------ Peter W. Morreale email: morreale@ncar.ucar.edu Nat'l Center for Atmos Research voice: (303) 497-1293 Scientific Computing Division