![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command Not Found Error? | praswer | Red Hat | 2 | 07-18-2008 05:51 PM |
| procedure/function not found in .ksh | rajesh_ramaoz | Shell Programming and Scripting | 8 | 11-04-2007 01:47 PM |
| Error in functions : file2: function: not found | padarthy | Shell Programming and Scripting | 2 | 10-10-2007 11:55 PM |
| not found error | gander_ss | Shell Programming and Scripting | 4 | 05-11-2007 05:24 AM |
| Installer script -- function not found error | asutoshch | Shell Programming and Scripting | 1 | 07-10-2006 03:07 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
function: not found error on solaris
shell script in very simple, Code:
#!/bin/sh
function msgs
{
echo 'this'
}
msgs
It works on linux, apple, but can not run on solaris. On solaris, when I enter "./t.sh", it gave me following error, Code:
./t.sh: function: not found this ./t.sh: msgs: not found What's wrong with this simple script on solaris? Can anybody tell me? Thanks. Last edited by DukeNuke2; 09-26-2009 at 06:14 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|