Re: [za-pm] Text::Format

2012-08-30 Thread François Marais
Note: Beware! Default reply-to is to the list. Hi Anne If the only problem you are tackling is breaking lines between isbn and following number, then surely a simple substitute will suffice? echo 'isbn 23987 isbn 98777 isbn 239487 isbn 293487 ' |perl -p0e's/isbn\s*[\x0d\x0a]*\s*(\d+)/isbn $1

Re: [za-pm] Text::Format

2012-08-30 Thread François Marais
Note: Beware! Default reply-to is to the list. Correction, s option includes newlines: s/isbn\s*(\d+)/isbn $1/gs On 30/08/2012 10:25, François Marais wrote: Hi Anne If the only problem you are tackling is breaking lines between isbn and following number, then surely a simple substitute