Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.lang.perl Subject: Re: Matching parentheses Message-ID: <1990Dec1.105725.28029@robobar.co.uk> Date: 1 Dec 90 10:57:25 GMT References: <5209:Nov2909:58:4190@kramden.acf.nyu.edu> <12435:Nov3011:26:5990@kramden.acf.nyu.edu> <13858:Nov3016:23:4790@kramden.acf.nyu.edu> Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 9 brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: > #!/bin/sh > ( echo '0'; echo '0'; fold -1 | sed 's,[^()],, What's fold ? Have you got an implementation of it in perl that you're willing to share ? -- ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H) Brought to you by Super Global Mega Corp .com