[olug] Character Removal

DYNATRON tech dynatron at gmail.com
Fri Oct 19 03:50:25 UTC 2007


seems to be working proper.

On 10/18/07, Phil Brutsche <phil at brutsche.us> wrote:
>
> Is the list working properly? All I see in these messages is a bunch of
> line noise...
>
>
>
>
>
> :)
>
> Luke -Jr wrote:
> > On Thursday 18 October 2007, George Neill wrote:
> >> On 10/18/07, stan at srcproductions.com <stan at srcproductions.com> wrote:
> >>> I'd like to remove all characters between a '(' and the second ')'. I
> >>> tried command lines like:
> >> gneill at vmware ]$ echo "this (is what 123 ) a (simple) test" | perl -pe
> >> 's/(?<=\()[[:alnum:][:space:]]+//g;'
> >> this () a () test
> >
> > perl -pe 's,\([^)]+,(,g'
>
> --
>
> Phil Brutsche
> phil at brutsche.us
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>



-- 
dynatron digital services
box 191 - 68037
www.dynatron.org
dynatron at gmail.com



More information about the OLUG mailing list