[CS-FSLUG] Sed and other tools

Ed Hurst ehurst at soulkiln.org
Fri Jul 8 15:59:34 CDT 2011


On Fri, 8 Jul 2011, Robert Wohlfarth wrote:

> On Fri, Jul 8, 2011 at 11:22 AM, Ed Hurst <ehurst at soulkiln.org> wrote:
>>
>> Heh. It did indeed put the linebreaks back in, but also left the new
>> file double-spaced. That is, a new empty line between each previous
>> line.
>
> Oops. That's should be easy enough to fix. Find the line that says my $all =
> join( "\n", @slurp );. Change it to read my $all = join( "", @slurp );. The
> *join* command added the extra newline.

That got it. Thank you so much!

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