size limit for sed -f ?

Maarten Litmaath maart at cs.vu.nl
Fri Jul 13 04:40:02 AEST 1990


In article <24929.269ba943 at kuhub.cc.ukans.edu>,
	arritt at 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)



More information about the Comp.unix.questions mailing list