linuxkurs/beispiele/5/02-comments.sh

10 lines
369 B
Bash
Raw Normal View History

2019-01-08 13:08:27 +01:00
#!/bin/bash
# This line is a comment.
echo "A comment will follow." # Comment here.
echo "The # here does not begin a comment."
echo 'The # here does not begin a comment.'
echo The \# here does not begin a comment.
echo The # here begins a comment.
echo ${PATH#*:} # Parameter substitution, not a comment.
echo $(( 2#101011 )) # Base conversion, not a comment.