Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
6 user(s) are online (4 user(s) are browsing encyclopedia)

Members: 0
Guests: 6

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

End-of-line

In Computing, EOL refers to the end-of-line character (computing) or signal (computing). It is also known as newline.

In Unix systems, the EOL character is line feed (LF, ASCII 10). In older Apple Macintosh systems (before Mac OS X) it is carriage return (CR, ASCII 13) and in MS-DOS and Microsoft Windows systems, as well as in a number of text-based Internet protocols (for example SMTP, NNTP and POP3) a combination of both (CRLF).

Unix systems commonly have a command line interface program called fromdos and todos to convert line feeds from one format to another.

When transferring a file via the ftp protocol, the user may request that the file be translated so that end-of-line compatibility between client and server operating systems is maintained (ASCII mode). Failure to remove newline characters is a common cause of errors when uploading Common Gateway Interface scripts to a server running on a Unix system, reporting errors such as bad interpreter , 500 Internal Server Error , etc.

Sed expressions to convert text files between different end-of-line formats can be found here: [http://sed.sourceforge.net/sed1line.txt Handy one-line sed scripts]

= See also =

  • newline
  • End-of-file
  • Here Document