View Single Post
Old 13th November 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I wrote mine with Vim when I was looking for a job some time ago ... I would advice using unix2dos though, because otherwise your file will be unreadable if it gets opened with Notepad.
Remember to use spaces for indenting, not tabs.

Quote:
Any text editor that defaults to CRLF vs LF-only is not a pure text editor.
You can't even use LF with Notepad, if you open a LF file with Notepad there are no newlines.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote