Working state
This commit is contained in:
1 parent
4310ab7323
commit
151648f44f
15 files changed
+147
-53
No files matched your search
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# File: helloworld.bash
|
||||
#
|
||||
# Description: This file exemplifies printing 'Hello world!' in bash.
|
||||
#
|
||||
# Package: AniNIX::Foundation/HelloWorld
|
||||
# Copyright: WTFPL
|
||||
#
|
||||
# Author: DarkFeather <darkfeather@aninix.net>
|
||||
|
||||
### String to print
|
||||
export _helloWorld="Hello world!"
|
||||
|
||||
|
||||
### Prints 'Hello world!'
|
||||
### </summary>
|
||||
function main() {
|
||||
printf "$_helloWorld""\n"
|
||||
}
|
||||
|
||||
## MAIN
|
||||
if [ `basename "$0"` == "HelloWorld.bash" ]; then
|
||||
main
|
||||
fi
|
||||
Reference in new issue
Block a user