The carriage-return tag has no wiki summary.
0
votes
3answers
98 views
How can I replace all \r\n with \n (using either Komodo Edit on OSX Snow Leopard, or any other tool for Mac)
Somehow, some 40 files (mostly Python modules) in my project have \r\n (Windows style) as line endings. I'd like to change them to \n (Unix style) line endings, but Komodo Edit doesn't appear to ...
0
votes
1answer
20 views
Doing an SVN merge on a different OS from most users - does this cause issues?
I am working in a place that develops software on Windows. We use SVN for version control. I work much more quickly in a bash shell, and was asked to do a merge of a tag into a branch. I automatically ...
2
votes
1answer
121 views
copy excel cell copies carriage return also
I am copying individual cells from excel and pasting it into SQL. Each time I do it, carriage return is automatically added to copy.
Repro:
Enter 123 in any cell in excel 2007.Click on another ...
0
votes
3answers
1k views
How are \n and \r handled differently on Linux and Windows?
I think \n moves the needle down, and \r moves the needle to the beginning of a line (left align)? I'm not sure, though. So, if I'm wrong please correct me....
Anyway, I was told that Windows and ...
0
votes
2answers
323 views
Terminal printing carriage return as ^M?? [linux telling me to stop coding?]
I was writing a script in vim, dropped my keyboard, and continued coding.
I didn't notice that my cursor changed from the normal _ type cursor, to a [] block. (as if i hit insert in a windows ...
2
votes
2answers
231 views
Ignore carriage return for a specific file with Git
I use multiple environments thanks to virtual machines, and my code directory is shared between them. I also like my code to have the native (host) line endings.
When I'm on a Windows host, I ...
3
votes
3answers
715 views
Join lines inside paragraphs in vim
Suppose you've typed a long document in vim with automatic line breaking on, so all the lines have been broken at, say, 79 characters. You may have even applied formatting to the whole document to ...
3
votes
7answers
630 views
Is there a Bash command to convert \r\n to \n?
Is there a Bash command to convert \r\n to \n?
When I upload my scripts from Windows to Linux, I need a utility like this to make things work.
0
votes
1answer
65 views
How to Launch a Program and Two Returns
I want to launch a program that then produces two dialog boxes I wish to just hit ENTER for. How do I do this? I have this so far but want it followed with RETURN twice.
w:: Run E:\Program ...
0
votes
4answers
3k views
sed remove CR and LF (join lines)
How can I remove with sed all CR and LF from text file (join lines)
8
votes
3answers
6k views
Vim: show line feeds & carriage-return
How can I display line feeds and/or carriage-return characters in vi/vim?
I know that set list shows all the whitespace characters (?), it also replaces tabs \t etc (but that's not what I want). ...
1
vote
1answer
2k views
Komodo Edit: How to use Tabs and Carriage Returns in Find/Replace?
In NoteTab Pro, I could use tabs and returns in the find and replace dialogs by using ^t and ^p.
Now I have switched to Komodo Edit which is much more powerful, and I can't find any way to search for ...
4
votes
2answers
80 views
Why new lines at the end of files?
Why do some of the more technical apps require newlines at the end of files? I've read it has something to do with diffs, but shouldn't diff be able to figure the relative positions of things out on ...
10
votes
8answers
3k views
Convert CRLF's to line feeds on Linux
What's the best way to convert CRLF's to line feeds in files on Linux?
I've seen sed commands, but is there anything simpler?