HelloWorld/HelloWorld.bash
2019-04-15 15:58:35 -05:00

26 lines
450 B
Bash
Executable File

#!/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