*nix Thread, WATCH OUT!- there's a <CR> about :( in Technical; For those of you like myself, who consider themselves multi-OS capable having worked on everything from a Cyber 1900 to ...
7th March 2008, 09:30 AM #1
IDG Tech News
7th March 2008, 09:44 AM #2
Out of interest what editor were you using? I'd say it's probably more related to that than a specific *nix - windows issue.
7th March 2008, 10:03 AM #3
I had this problem at one point, notepad and other windows editors all seem to offend as they save the file with these little buggers on each line. The solution was to open the files in a linux editor and just scroll down with the cursor line by line at which point the editor removed the characters. Re-saving the file after this made them function.
7th March 2008, 10:04 AM #4
1. I can't remember.
2. Did you read the link?
7th March 2008, 10:05 AM #5
It depends on the editor really - better editors allow you to save in 'unix text' format, otherwise known as the proper way of doing it. Notepad is terrible for that problem.
7th March 2008, 10:09 AM #6
yeh notepad is a bit evil for this kind of thing, I use pspad and it seems to work a lot better - http://www.pspad.com/
7th March 2008, 10:55 AM #7
There's a few tricks to this:
1. Use a real editor http://www.vim.org/ - in vim:
2. use a commandline util to fix it - on ubuntu:
apt-get install sysutils
7th March 2008, 11:21 AM #8
I use textpad and save as a unix file.
11th March 2008, 09:15 PM #9
superb little app! syntax highlighting for so many things.
Thanks to box_l from:
SimpleSi (30th March 2008)
30th March 2008, 11:00 PM #10
Ta for replies - I'm trying out Notepad++ as its in the PortableApps suite so I can just stick it on the USB stick I use for my eeePC scripts and run it from there when I need to edit from Windows.
30th March 2008, 11:25 PM #11
I use notepad++ as my text editor in windows It's excellent. I just use nano in *nix/*BSD
By laserblazer in forum General Chat
Last Post: 12th December 2007, 02:06 PM
By russdev in forum General Chat
Last Post: 6th August 2007, 08:48 PM
By callumtuckey in forum How do you do....it?
Last Post: 30th June 2007, 06:14 PM
By russdev in forum General EduGeek News/Announcements
Last Post: 23rd December 2005, 05:47 PM
By Mango_RW in forum General Chat
Last Post: 20th July 2005, 07:54 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)