Php In unix Difference

Source: Internet
Author: User
Tags php tutorial

Difference between rn and n in unix in php Tutorial

N soft carriage return:
In Windows, it indicates a line break and returns to the starting position of the next line. It is equivalent to the r in Mac OS.
In Linux and unix, it only indicates line breaks, but does not return to the starting position of the next line.

R soft space:
In Linux and unix, return to the starting position of the row.
In Mac OS, line breaks are displayed and returned to the start position of the next line, which is equivalent to n in Windows.

T-hop (move to the next column ).


They are valid in double quotes or delimiters, and are invalid in single quotes.
Rn is generally used together to represent the enter key on the keyboard. n can be used only.
T indicates the "TAB" key on the keyboard.

Just like the difference between using enter and shift + enter, if you want to display the effect on the page, you need to convert it to HTML code or use...

Line Feed characters in the file:

Linux, unix: rn
Windows: n
Mac OS: r

Corresponding:

0x0A (10) in n LF or ASCII)
0x0D (13) in r CR or ASCII)
T horizontal tab-0x09 (9) in HT or ASCII)
Backslash
$ Circle character
"Double quotation marks
'Single quotes

Figure 1

I don't understand what "(CRLF)" means!

I checked some information and found its original intention in a post:

Starting address

One of them gave me a reply to this problem and introduced the reason for rn in windows.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.