>>>>> "DB" == Dan Boger <[EMAIL PROTECTED]> writes:

  DB> On Tue, Nov 07, 2006 at 11:43:49AM -0500, Greg London wrote:
  >> Anyway, I think I need a unix2dos script that will just fix the unix
  >> newlines without modifying the dos newlines.

  DB> Well, a workaround is to make everything unix, then run unix2dos:

  DB> perl -i -p -e 's/\r//' script.pl

just to be pedantic, tr/\r//d is faster for that kind of stuff. too many
perl coders forget about tr/// when they do single char munging using
s///.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to