*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.
Cheers
Jona
-
-
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 @Jona
1. I can't remember.
2. Did you read the link? 
regards
Simon
-
-
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:
escape
:set ff=unix
:wq
2. use a commandline util to fix it - on ubuntu:
apt-get install sysutils
dos2unix <filename>
HTH
-
-
7th March 2008, 11:21 AM #8 I use textpad and save as a unix file.
-
-
11th March 2008, 09:15 PM #9 notepad ++
http://notepad-plus.sourceforge.net/uk/site.htm
superb little app! syntax highlighting for so many things.
regards
BoX
-
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.
regards
Simon
-
-
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
-
SHARE: 
Similar Threads
-
By laserblazer in forum General Chat
Replies: 16
Last Post: 12th December 2007, 02:06 PM
-
By russdev in forum General Chat
Replies: 21
Last Post: 6th August 2007, 08:48 PM
-
By callumtuckey in forum How do you do....it?
Replies: 7
Last Post: 30th June 2007, 06:14 PM
-
By russdev in forum General EduGeek News/Announcements
Replies: 0
Last Post: 23rd December 2005, 05:47 PM
-
By Mango_RW in forum General Chat
Replies: 1
Last Post: 20th July 2005, 07:54 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules