eol Questions

9

Solved

I'm using Ubuntu 13.10 x64, and I am working on a project that some developers are using Windows , I recently changed the git config core.eol to "lf" and core.autocrlf to "input" and core.safecrlf ...
Nadaha asked 23/11, 2013 at 22:22

5

Solved

So, you are all ready to do a big SVN Commit and it bombs because you have inconsistent line endings in some of your files. Fun part is, you're looking at 1,000s of files spanning dozens of folders...
Fairway asked 19/8, 2008 at 4:22

19

Solved

When is it a good idea to use PHP_EOL? I sometimes see this in code samples of PHP. Does this handle DOS/Mac/Unix endline issues?
Applicative asked 24/9, 2008 at 17:34

4

For some reason, when I open files from a unix server on my windows machine, they occasionally have Macintosh EOL conversion, and when I edit/save them again they don't work properly on the unix se...
Elfredaelfrida asked 26/4, 2013 at 15:1

4

I'm checking out files that have Linux style line endings (just LF char). When I check out a file with TortoiseSVN in Windows, it converts the line endings to Windows style (CR+LF). I've tried addi...
Azole asked 20/7, 2012 at 22:36

8

Solved

I'm completely stuck with an SVN error when committing 2447 files at once. I'm using TortoiseSVN (latest version) on Windows 7 64 bits. The fact is that some files were created on Mac, and others o...
Voyageur asked 24/5, 2013 at 8:36

12

Sometimes I need to read log files that have ^M (control-M) in the line endings. I can do a global replace to get rid of them, but then something more is logged to the log file and, of course, they...
Justinn asked 8/4, 2009 at 16:20

2

While setting up Git for a project, I've noticed that the line-ending normalization works a bit different on Linux and on Windows. As I understand the Git documentation on this subject, the behav...
Runnerup asked 7/3, 2018 at 11:33

3

Solved

Can I silently change end of line sequence in VSCode? Something like this: vscode.commands.executeCommand("workbench.action.editor.changeEOL", "LF");
Hefter asked 19/9, 2018 at 10:44

2

Solved

It is well known, that Unix-like system uses LF characters for newlines, whereas Windows uses CR+LF. However, when I test this code from local HTML file on my Windows PC, it seems that JS treat a...
Extortionate asked 22/4, 2018 at 16:19

1

Solved

I'd like to pipe text with unix-like EOL (LF) from Python via Windows CMD (console). However, Python seems to automatically convert single newlines into Windows-style end-of-line (EOL) charac...
Quip asked 7/4, 2018 at 16:8

2

Solved

here's output of git log : * 5a831fdb34f05edd62321d1193a96b8f96486d69 HEAD (HEAD, origin/work, work) | LIB/xxx.cpp | Bin 592994 -> 593572 bytes | LIB/xxx.h | 5 +++++ | LIB/bbb/xxx.h | 9 ++++++++...
Kisor asked 19/1, 2011 at 13:15

3

Solved

Please help, how can i find the constant like PHP_EOL for tabulation My code wrote file which has a lot of generated tabulations and new lines new lines wrote correctly, but i have a lot of "\t\t" ...
Pusey asked 19/9, 2016 at 10:13

1

Solved

Is there any EOL( end of life) and EOVS( end of vendor support) dates for spring libs like spring boot, spring cloud, spring session etc? If yes where can I find these information for each ve...
Graycegrayheaded asked 4/10, 2017 at 9:31

6

Solved

I have created a text file in Unix environment using Java code. For writing the text file I am using java.io.FileWriter and BufferedWriter. And for newline after each row I am using bw.newLine() m...
Coyle asked 14/5, 2010 at 8:25

3

I have a git repo set with core.eol=crlf, core.autocrlf=true and core.safecrlf=true. When I apply a patch from another crlf repo and to my repo all the line endings for the effected file are chang...
Urbani asked 10/6, 2011 at 15:32

5

Solved

I'm writing a series of SQL statements to a file using python. The template string looks like: store_insert = '\tinsert stores (storenum, ...) values (\'%s\', ...)' I'm writing to the file like ...
Simplicidentate asked 26/10, 2010 at 16:31

2

Solved

My program can accept data that has newline characters of \n, \r\n or \r (eg Unix, PC or Mac styles) What is the best way to construct a regular expression that will match whatever the encoding is...
Vasodilator asked 26/8, 2009 at 0:54

1

Solved

I would like to sscanf a line and make sure that that there is nothing more then what I wanted in it. The code looks like this: void parse_init_command(char *buffer, command *new_command) { if (s...
Loudmouthed asked 8/5, 2016 at 17:9

4

Recently I came across the following entry in a .gitattributes file: "* text=auto !eol" What does !eol do?
Selfimmolation asked 23/1, 2014 at 8:9

3

Solved

Is it possible to ask Git to use CRLF instead of just LF at the end of the lines it puts into a file when it needs merging? If resolving conflicts in a text editor without visible EOL characters...
Solmization asked 24/7, 2013 at 11:25

2

Solved

I'm trying to do a simple regex statement in a bash script that will match and substitute the end of a word. Below is what I'm trying to do. wordh > word:’ Below is the code I'm using. #!/bi...
Energetic asked 9/1, 2016 at 6:24

2

I am reading an ASCII text file. It is defined by the size of each field, in bytes. E.g. Each row consists of a 10 bytes for some string, 8 bytes for a floating point value, 5 bytes for an integer ...
Hales asked 5/1, 2016 at 7:35

8

Solved

I have several hundred GB of data that I need to paste together using the unix paste utility in Cygwin, but it won't work properly if there are windows EOL characters in the files. The data may or ...
Mcmann asked 17/3, 2011 at 23:30

1

Solved

If I choose Show Invisibles in Atom settings, then all invisible characters become visible: I would like to hide EOLs, because they pollute the view. Is this achievable?
Replete asked 14/9, 2015 at 11:5

© 2022 - 2024 — McMap. All rights reserved.