Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: symbols are used for "a new line"

by BillKSmith (Vicar)
on Aug 28, 2013 at 13:09 UTC ( #1051279=note: print w/replies, xml ) Need Help??

in reply to symbols are used for "a new line"

This is only an issue if you share files between platforms. In that case, there is no single answer. It depends not only on the platforms, but on how you share the files. Please tell us more about your appliction.

Replies are listed 'Best First'.
Re^2: symbols are used for "a new line"
by solomon243 (Novice) on Aug 28, 2013 at 14:46 UTC
    my program works with the text file (consisting of lines :) program does selection of a line of this file on its offset, which is in advance known. Offset is set in bytes from the file beginning... On win32 script will work not as on Linux/UNIX...
      The windows version of you text file may have windows newlines (depending on how you transferred and/or edited it.) If it does, the offsets will be different than in *nix. If does not, you must open the file in binary mode. I cannot offer any more help without knowing your objective.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051279]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-18 14:27 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.