[CS-FSLUG] Sed and other tools

Ed Hurst ehurst at soulkiln.org
Fri Jul 8 11:18:22 CDT 2011

On Fri, 8 Jul 2011, Robert Wohlfarth wrote:

>> my $all = join( "\n", @slurp );
> Combine all of the lines into one long string. We need this to check for the
> pattern across lines. This is where Perl has the advantage over sed.

I really appreciate your patience.

Once the lines are all "slurped" together, are they put back as they
were, or do I have to put all the linebreaks back in manually? For
maintenance purposes, I keep my HTML files at 72 characters.

I'm doing this on a copy of the backed up site on my machine before I
even try it on the hosting machine.

Ed Hurst
Open for Business - http://ofb.biz/
Kiln of the Soul - http://soulkiln.org/
blog - http://soulkiln.myopera.com/

More information about the Christiansource mailing list