Skip to content

Commit 5cf0474

Browse files
committed
update FUNCTION syntax
1 parent 762ab2b commit 5cf0474

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

function.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
# Functions either use the syntax
4+
# function FUNCTION {COMMANDS;}
5+
# or
6+
# FUNCTION(){COMMANDS;}
7+
38
function hello() {
49
echo "hello : $1"
510
}

0 commit comments

Comments
 (0)