Re^4: Vi
Maarten Litmaath
maart at cs.vu.nl
Wed Jun 14 03:47:22 AEST 1989
dce at Solbourne.COM (David Elliott) writes:
\...
\Also, doesn't System V have a way to do "runs"? I seem to recall
\something like following an re with {min,max}.
Right! On SunOS [34].x the command
/usr/5bin/sed -n /'x\{4,\}'/p
will print each line containing a sequence of 4 or more 'x' characters.
--
"I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam:
they're small." (Stephen Savitzky) |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.questions
mailing list