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...