Shell Grammar Learning Chapter

Source: Internet
Author: User

Escape characters:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/82/B1/wKioL1dekCOAJOxMAADJVCjDcdk147.png "title=" QQ picture 20160613180543.png "style=" Float:none; "alt=" Wkiol1dekcoajoxmaadjvcjdcdk147.png "/>

When parsing text, double quotation marks parse the string, and single quotes keep literal meanings.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/82/B1/wKioL1dekB7wOEzvAAAYwyCobVc011.png "title=" 1.png " Style= "Float:none;" alt= "Wkiol1dekb7woezvaaaywycobvc011.png"/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/82/B3/wKiom1dejw6j8qjAAAAGjjwtv_w958.png "title=" 2.png " Style= "Float:none;" alt= "Wkiom1dejw6j8qjaaaagjjwtv_w958.png"/>

echo $? This bash last process exit code

Double quotation marks are used to keep the literal value of all characters in quotation marks ( carriage return is no exception ), except in the following cases :

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/82/B1/wKioL1dekB-jqaeYAADp_4_xhOk371.png "title=" 3.png " Style= "Float:none;" alt= "Wkiol1dekb-jqaeyaadp_4_xhok371.png"/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/B1/wKioL1dekB6SoNboAAFP9FJBVNw190.png "title=" 0.png " Style= "Float:none;" alt= "Wkiol1dekb6sonboaafp9fjbvnw190.png"/>

Condition test: Exit code 0 indicates success, not 0 indicates failure

For shaping values,

-GT represents greater than or great

-ge represents greater than or equal to great equal

-eq represents equality equal

-lt means less than or little

-le means less than or equal to

Read Val means reading from standard input to Val

For string comparisons: Use =,== directly (recommended), or! =

Selectable $str1== $str 2, or "x$str1" = = "X$STR2" (recommended to prevent direct comparison when $str1 is empty, X is any character)

Single quotes are not allowed here, single quotation marks only literal meaning

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/82/B3/wKiom1dejw_SBn3cAADa7VPL8eM223.png "style=" float: none; "title=" 4.png "alt=" Wkiom1dejw_sbn3caada7vpl8em223.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/82/B3/wKiom1dejw_ygWVQAAAzHX3-0Wo663.png "style=" float: none; "title=" 5.png "alt=" Wkiom1dejw_ygwvqaaazhx3-0wo663.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/82/B1/wKioL1dekCDi3a0ZAAARb5Y0h1A774.png "style=" float: none; "title=" 6.png "alt=" Wkiol1dekcdi3a0zaaarb5y0h1a774.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/B3/wKiom1dejxCzQ6lNAABNG-lxoWI877.png "style=" float: none; "title=" 7.png "alt=" Wkiom1dejxczq6lnaabng-lxowi877.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/82/B1/wKioL1dekCGRecrHAAAVWNbos28078.png "style=" float: none; "title=" 8.png "alt=" Wkiol1dekcgrecrhaaavwnbos28078.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/B1/wKioL1dekCGBTCo5AAAWq9hesZU421.png "style=" float: none; "title=" 9.png "alt=" Wkiol1dekcgbtco5aaawq9heszu421.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/82/B3/wKiom1dejxGyP3dPAAAZiq1ns-4887.png "style=" float: none; "title=" 10.png "alt=" Wkiom1dejxgyp3dpaaaziq1ns-4887.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/82/B1/wKioL1dekCHzU0RaAAAXDU-iYYM612.png "style=" float: none; "title=" 11.png "alt=" Wkiol1dekchzu0raaaaxdu-iyym612.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/82/B3/wKiom1dejxGDD-t6AAApHt_R_3g450.png "style=" float: none; "title=" 12.png "alt=" Wkiom1dejxgdd-t6aaapht_r_3g450.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/82/B3/wKiom1dejxHyBZHhAAAbIEoK1l8663.png "style=" float: none; "title=" 14.png "alt=" Wkiom1dejxhybzhhaaabieok1l8663.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/B1/wKioL1dekCKCUJQfAAAR86SDcQ8706.png "style=" float: none; "title=" 15.png "alt=" Wkiol1dekckcujqfaaar86sdcq8706.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/B1/wKioL1dek1Xxx6tSAABV4DBMI0g361.png "style=" float: none; "title=" 16.png "alt=" Wkiol1dek1xxx6tsaabv4dbmi0g361.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/B3/wKiom1dekkWztwWzAABCDdY6RR0095.png "style=" float: none; "title=" 176.png "alt=" Wkiom1dekkwztwwzaabcddy6rr0095.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/82/B1/wKioL1dek1aAtSm1AAAsqZomn3I645.png "style=" float: none; "title=" 01.png "alt=" Wkiol1dek1aatsm1aaasqzomn3i645.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/B1/wKioL1dek1aAkzGRAAAWBtFxMBM347.png "style=" float: none; "title=" 2.png "alt=" Wkiol1dek1aakzgraaawbtfxmbm347.png "/>



This article is from the "Small Stop" blog, please be sure to keep this source http://10541556.blog.51cto.com/10531556/1788827

Shell Grammar Learning Chapter

Related Article

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.