Special Characters
What makes a character special? If it has a meaning beyond its literal meaning, a meta-meaning, then we refer to it as a special character. Along with commands and keywords, special characters are building blocks of Bash scripts. Special Characters Found In Scripts and Elsewhere Comments. Lines beginning with a # (with the exception of #!) are comments and will not be executed. # This line is a comment. Comments may also occur following the end of a command. echo "A comment will follow." # Comment here. # ^ Note whitespace before # Comments may also follow whitespace at the beginning of a line. # A tab precedes this comment. Comments may even be embedded within a pipe. initial=( `cat "$startfile" | sed -e '/#/d' | tr -d '\n' |\ # Delete lines containing '#' comment character. sed -e 's/\./\. /g' -e 's/_/_ /g'` ) # Excerpted from life.sh script A command may not follow a comment on the same line. There is no method of terminating the comment, i
Special Characters Advanced Bash-Scripting Guide: Prev Next Chapter 3. Special Characters What makes a character special ? If it has a meaning beyond its literal meaning , a meta-meaning , then we refer to it as a special character . Along with commands and keywords , special characters are building blocks of Bash scripts. Special Characters Found In Scripts and Elsewhere # Comments. Lines beginning with a # (with the exception of #! ) are comments and will not be executed. # This line is a comment. Comments may also occur following the end of a command. echo "A comment will follow." # Comment
related reading
- GitHub - jlevy/the-art-of-command-line: Master the command line, in one pagegithub.com
- Command Line Interface Guidelinesclig.dev
- GitHub - jlevy/the-art-of-command-line: Master the command line, in one pagegithub.com
- GitHub - jlevy/the-art-of-command-line at jlevy-patch-1github.com
- Mediumaruva.medium.com
- Basic Syntax | Markdown Guidemarkdownguide.org
- GitHub - Experience-Monks/math-as-code: a cheat-sheet for mathematical notation in code formgithub.com
- grep_awk_sed.pdfwww-users.york.ac.uk
- 常用 LaTeX 數學符號指令 - HackMDhackmd.io
- CSC 151 - Characters and stringseikmeier.sites.grinnell.edu
- A guide to building a great .bashrc | by Zheng Hao Tan | Mediummedium.com
- ASCII Operators · Decapodes.jlalgebraicjulia.github.io