On Mon, 2003-07-28 at 09:58, McKown, John wrote:
> I don't have REXX on my SuSE SLES7. This is a minimal system which I
> downloaded from the Internet quite some time ago for use at home under
> Hercules/390 (just for my learning how to install). When I told management
> (bad John!) they decided that this was excellent since there would be NO
> capital outlay for this. Paugh!

I believe the Perl function chomp does what you want.

so:

while (<>) {
        chomp;
        print;
}

Adam

Reply via email to