HelloWorld/HelloWorld.bash

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