Click here to get back home

How do I detect if I have incoming data in when I pipe somethingto my perl script ?

 HomeNewsGroups | Search

comp.lang.perl.misc - PERL programming language 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How do I detect if I have incoming data in when I pipe somethingto my perl script ? Andreas Berg 08-05-2004
Posted by Andreas Berg on August 5, 2004, 2:45 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Sandman on August 5, 2004, 3:13 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Andreas Berg on August 5, 2004, 3:31 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Richard Gration on August 5, 2004, 6:17 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Andreas Berg on August 6, 2004, 10:26 am
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
redirect incoming data to port 21 with perl September 5, 2004, 11:16 pm
IO::Pipe and loss of data January 4, 2006, 2:38 pm
Perl firewall test script - detect whether host not responding or firewall rule not implemented May 5, 2009, 10:15 pm
How to read input data from pipe, file and files July 9, 2007, 2:58 am
Changing remote_addr on incoming request September 14, 2005, 2:04 pm
perl script to pass data to another perl script? October 30, 2005, 7:32 pm
need simple perl script to do secure data transmission July 28, 2004, 4:43 am
PERL Script to Load data into an oracle database August 5, 2006, 6:55 am
Is there a perl package, or data in a form easily used by a perl script, that can be used to determine when to change to or from daylight savings time? November 6, 2008, 5:00 pm
How to detect text file encoding in Perl May 20, 2006, 11:52 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy