There is no multiline comment in sh, only one # for each line

Source: Internet
Author: User

There is no multiline comment in sh, only one # is added to each line. Can only be like this:

    1. #--------------------------------------------
    2. # This is a script that automatically plays IPA, based on Webfrogs's ipa-build writing:
    3. # https://github.com/webfrogs/xcode_shell/blob/master/ipa-build
    4. # features: Automatic packaging for Etao iOS app, 14 channels of output IPA package
    5. # Features: automatic packaging, no input parameters required
    6. #--------------------------------------------
    7. ##### User Configuration area start #####
    8. #
    9. Li> #
    10. # project root directory, it is recommended to put this script at the root of the project, there is no need to change the
    11. # application name, ensuring that the Target_name.app name under product in Xcode is identical
    12. #
    13. ##### User Configuration area end #####

What if, in the course of development, you encounter a large segment of code that needs to be annotated temporarily and then uncomment later? Each line with a # symbol is too laborious, you can put this piece of code to be annotated with a pair of curly braces, defined as a function, there is no place to call this function, the code will not be executed, to achieve the same effect as the annotation.

There is no multiline comment in sh, only one # for each line

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.