*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, 10:30 AM #1
IDG Tech News
7th March 2008, 10: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, 11: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, 11:04 AM #4
1. I can't remember.
2. Did you read the link?
7th March 2008, 11: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, 11: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, 11: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, 12:21 PM #8
I use textpad and save as a unix file.
11th March 2008, 10:15 PM #9
superb little app! syntax highlighting for so many things.
Thanks to box_l from:
SimpleSi (30th March 2008)
31st March 2008, 12:00 AM #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.
31st March 2008, 12:25 AM #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, 03:06 PM
By russdev in forum General Chat
Last Post: 6th August 2007, 09:48 PM
By callumtuckey in forum How do you do....it?
Last Post: 30th June 2007, 07:14 PM
By russdev in forum General EduGeek News/Announcements
Last Post: 23rd December 2005, 06:47 PM
By Mango_RW in forum General Chat
Last Post: 20th July 2005, 08:54 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)