zoukankan      html  css  js  c++  java
  • [quote] How to comment multi-lines in bash shell script.

    From 

    http://stackoverflow.com/questions/947897/block-comments-in-a-shell-script

    In bash:

    #!/bin/bash
    echo before comment
    : <<'END'
    bla bla
    blurfl
    END
    echo after comment
    

    The ' and ' around the first END delimiter is important, otherwise things inside the block like for example $(command) will be parsed and executed.

  • 相关阅读:
    linux sed命令详解
    SQL注入基础知识
    DC-7
    DC-6
    DC-5
    DC-4
    DC-3
    DC-2
    pentestlabs
    任意文件读取和下载
  • 原文地址:https://www.cnblogs.com/lake-of-embedded-system/p/3484287.html
Copyright © 2011-2022 走看看