langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
7
Task/Comments/UNIX-Shell/comments-1.sh
Normal file
7
Task/Comments/UNIX-Shell/comments-1.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
# A leading hash symbol begins a comment.
|
||||
echo "Hello" # Comments can appear after a statement.
|
||||
|
||||
# The hash symbol must be at the beginning of a word.
|
||||
echo This_Is#Not_A_Comment
|
||||
#Comment
|
||||
6
Task/Comments/UNIX-Shell/comments-2.sh
Normal file
6
Task/Comments/UNIX-Shell/comments-2.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/csh -f
|
||||
|
||||
# C Shell has a similar comment syntax, but only allows comments in a
|
||||
# script file, not in terminal input.
|
||||
|
||||
echo Hello#With C Shell, the hash can also be in the middle of a word.
|
||||
3
Task/Comments/UNIX-Shell/comments-3.sh
Normal file
3
Task/Comments/UNIX-Shell/comments-3.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Comments in es (extensible shell) look like those of other shells.
|
||||
|
||||
echo Hello#With es, the hash can also be in the middle of a word.
|
||||
Loading…
Add table
Add a link
Reference in a new issue