Bootstrap

the function calls text

2012-02-09 00:25
[hurryliu@centos6 text_sh]$ cat -n fun.sh
     1    #!/bin/sh
     2    #fun.sh
     3    #the function calls text
     4    hello()
     5    {
     6    echo "hello , what's your name ?"
     7    read name
     8    echo "OH, $name ,this is a good name !"
     9    date
    10    echo "good night!"
    11    }
    12    hello
    13    
    14    
[hurryliu@centos6 text_sh]$ sh fun.sh
hello , what's your name ?
hurryliu
OH, hurryliu ,this is a good name !
Thu Feb  9 00:24:00 CST 2012
good night!
 
 
 
 
 
 
;