Forum: Ruby [SOLUTION] Text Munger

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Barry Dmytro (Guest)
on 2006-04-24 01:49
(Received via mailing list)
It expects stuff to be piped to it.

 ~> cat file.txt | ./76.rb

Took all of 10 minutes to write...

First version was 5 lines, but expanded it to 15 to add some handling of
different situations.

Kind Regards,
This topic is locked and can not be replied to.