Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: symbols are used for "a new line"

by BillKSmith (Monsignor)
on Aug 28, 2013 at 13:09 UTC ( [id://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.
Bill

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found