D. Allen [CGL]" <idallen@watcgl.waterloo.edu> (03/04/91)
ULTRIX V4.1 (Rev. 52) on a DS5400 % echo /u/* /u/* /u/* /u/* >! /tmp/i % wc /tmp/i 1 1164 13824 /tmp/i % sed -e 's/u/&/' /tmp/i > ! /tmp/ii Output line too long. 10313 Segmentation fault sed -e s/u/&/ /tmp/i > /tmp/ii (core dumped) % ls -l /tmp/i /tmp/ii -rw-r--r-- 1 root 13824 Mar 4 10:44 /tmp/i -rw-r--r-- 1 root 0 Mar 4 10:44 /tmp/ii - the man page mentions no line length limit - the output error message doesn't have the name of the program (sed) in it - the error message doesn't say what the limit is, e.g. sed: output line longer than 10240 bytes Sed also won't preserve binary files (try running /vmunix through a substitution that does nothing -- you don't get out what you put in), though we've come to expect that with most Unix utilities, haven't we? #include <standard wish for an electronic SPR form> -- -IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu [129.97.128.64] Computer Graphics Lab/University of Waterloo/Ontario/Canada