call function

2002-01-29 Thread David Starks-Browning
r/bin/sh > # > function outmessage > { >echo $1; >: >: > } > #Main > echo "Welcome" > : > : > outmessage "hello amy" > outmessage "hello peter" > : > : > exit 0 > > I try to call function outmessage in Cygwin, b

call function

2002-01-29 Thread Tiffany Chan
In Unix, "function" can be added in script, e.g. #!/usr/bin/sh # function outmessage { echo $1; : : } #Main echo "Welcome" : : outmessage "hello amy" outmessage "hello peter" : : exit 0 I try to call function outmessage in Cygwin, but it does wo