Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: Re: size limit for sed -f ? Message-ID: <7110@star.cs.vu.nl> Date: 12 Jul 90 18:40:02 GMT References: <24929.269ba943@kuhub.cc.ukans.edu> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Dept. of Computer Science, Amsterdam, The Netherlands Lines: 13 In article <24929.269ba943@kuhub.cc.ukans.edu>, arritt@kuhub.cc.ukans.edu writes: )Is there a limit to the size of the modification file that can be used )with sed? (Not the source file, but the file containing the sed commands.) Yes. Even under POSIX there are still (lower) limits, though fairly high. You have to divide your script into (orthogonal) parts and invoke sed a couple of times in a pipeline: sed -f script1.sed input_file | sed -f script2.sed | ... -- "and with a sudden plop it lands on usenet. what is it? omigosh, it must[...] be a new user! quick kill it before it multiplies!" (Loren J. Miller)