Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: symbols are used for "a new line"

by BillKSmith (Chaplain)
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.

Bill


Comment on Re: symbols are used for "a new line"
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
Node Status?
node history
Node Type: note [id://1051279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2014-07-23 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (146 votes), past polls