[ale] Stripping EOL Characters with samba

Fletch fletch at phydeaux.org
Fri Aug 11 12:42:34 EDT 2000


>>>>> "Wandered" == Wandered Inn <esoteric at denali.atlnet.com> writes:

[...]

    Wandered> I even wrote a perl script that strips the stuff out and
    Wandered> tried using it from a windows machine while editing a
    Wandered> file across samba.  No go.  Apparently, when you write a
    Wandered> line out from a windows box, you get the extra character
    Wandered> regardless.  Point is, to fix this, you'll have to do it
    Wandered> from the UNIX side, unless you have some kind of windows
    Wandered> binary editor that will write the file without these
    Wandered> characters (shudder...).

        Try using the perl `binmode' function on the output
filehandle.  That turns of the braindead 'doze \n => \cM\cJ
processing. 

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
678 443-6239(w)       |  scary questions." -- Jules                =(___)=
                      |                                               U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list