in reply to Perl/Tk Chatterbox Client
If you cut-and-paste from this page, you can use the following to remove the continuation "+" signs and reconstruct the file correctly:
perl -ne 'chomp; if (/^\+(.*)$/) { $last.=$1 } \ else { print "$last\n"; $last=$_ } \ END { print "$last\n" }' origfile.pl > destfile.pl
--ZZamboni
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: Perl/Tk Chatterbox Client
by tye (Sage) on Jul 25, 2000 at 20:32 UTC | |
Re: RE: Perl/Tk Chatterbox Client
by Chady (Priest) on Jan 22, 2001 at 01:42 UTC | |
by ZZamboni (Curate) on Jan 22, 2001 at 02:03 UTC |
In Section
Code Catacombs