Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Line endedness

by mobiGeek (Beadle)
on Nov 20, 2002 at 16:12 UTC ( [id://214512]=note: print w/replies, xml ) Need Help??


in reply to Re: Line endedness
in thread Line endedness

The question is unclear because the situation is unclear ;-)

I am looking for a general answer, but the specific case is: running Perl in Cygwin on Windows. The environment is set to UNIX, but the files I need to edit are being munged by our version control system (P4). Some files remain UNIX-ified, but most are being bastar...uh...DOS-ified.

In order to keep the "diff" output clean (p4 diff does not have a "-b" flag...), I need to handle the file however it is given to me.

Thanks for the $/ pointer. I haven't looked at that in a very long time (I try to live in sane universes when I can...but now I'm being dragged into Windows again).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214512]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-05-19 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found