princepawn has asked for the wisdom of the Perl Monks concerning the following question:
But I have several questions about this solution:perl -pe 's/-\s*\n$//' FILES
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: PP4: "de-hyphenating a file"
by merlyn (Sage) on Jul 17, 2003 at 17:12 UTC | |
by dragonchild (Archbishop) on Jul 17, 2003 at 17:25 UTC | |
by tye (Sage) on Jul 17, 2003 at 18:08 UTC | |
|
Re: PP4: "de-hyphenating a file"
by jdklueber (Beadle) on Jul 18, 2003 at 17:32 UTC |