slitaz-tools diff hacker/Templates/shell-script.sh @ rev 208

calendar: no more hardcoded date
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 27 15:32:37 2008 +0000 (2008-05-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hacker/Templates/shell-script.sh	Tue May 27 15:32:37 2008 +0000
     1.3 @@ -0,0 +1,16 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +
     1.7 +# Comment.
     1.8 +
     1.9 +echo "Hello world!"
    1.10 +
    1.11 +# Variables.
    1.12 +NAME=
    1.13 +
    1.14 +# Functions.
    1.15 +example()
    1.16 +{
    1.17 +  echo "This is a function."
    1.18 +}
    1.19 +