Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: (OT) Fixing Line Endings

by Melly (Chaplain)
on Nov 30, 2006 at 14:56 UTC ( [id://586955]=note: print w/replies, xml ) Need Help??


in reply to Re^2: (OT) Fixing Line Endings
in thread (OT) Fixing Line Endings

Ah! Tnx. Hmm... couldn't you create a perl script /usr/bin/perl\\r and have that handle the problem?

Tom Melly, pm@tomandlu.co.uk

Replies are listed 'Best First'.
Re^4: (OT) Fixing Line Endings
by jbert (Priest) on Nov 30, 2006 at 15:09 UTC
    Creating the symlinks is an even lighter-weight way of doing it.
Re^4: (OT) Fixing Line Endings
by Anonymous Monk on Nov 30, 2006 at 15:45 UTC
    Hmm... couldn't you create a perl script /usr/bin/perl\\r and have that handle the problem?

    That's essentially what they did. A symbolic link is a UNIX way of saying: "this file is the same as that file over there". They're like Perl references, only for a file system.

    The real problem was getting the symlink command to run from the shell command line: eventually, they gave up, and used perl instead...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-03-29 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found