[CS-FSLUG] Sed and other tools

Robert Wohlfarth rbwohlfarth at gmail.com
Fri Jul 8 13:12:30 CDT 2011

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.

Robert Wohlfarth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ofb.biz/pipermail/christiansource_ofb.biz/attachments/20110708/3ed35776/attachment.htm>

More information about the Christiansource mailing list