echo Wrap No Line break

Source: Internet
Author: User

echo Wrap output requires escape character-E

See the following example:

1 Echo " It 's the first line. " Echo " It is the second line.\c " Echo " It 's the third line. " Echo " \nit is the Forth line. ">> A

Output:

It's the first line.                                   // Default line Break It's the second line. It's the third line.             // The second line specifies that the line is not wrapped, so the third line immediately follows the second line It's the                                     forth line.                                   // The third line is wrapped by default, and line breaks are made before line fourth, so a line is empty in the middle

echo Wrap No Line break

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.