Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020129140510.39028.qmail@web21210.mail.yahoo.com> Date: Tue, 29 Jan 2002 14:05:10 +0000 (GMT) From: =?iso-8859-1?q?Tiffany=20Chan?= Subject: call function To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 work, function:not found What do I need to change for above script in order to use "function" ? thanks ! __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/