The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Calling shell functions from another shell script jisha Shell Programming and Scripting 6 04-05-2008 01:29 PM
Help with a shell script for creating a log file heprox Shell Programming and Scripting 2 11-13-2006 11:00 PM
Shell script functions r_subrahmanian Shell Programming and Scripting 5 12-13-2005 11:05 AM
Creating my first Shell Script plmahan Shell Programming and Scripting 1 11-21-2004 08:32 PM
help on creating shell script master_6ez Shell Programming and Scripting 1 11-21-2004 06:21 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2008
Registered User
 

Join Date: May 2008
Posts: 16
Creating functions in shell script

hi friends,

I am working with shell commands and all these works properly.
Then i created a small function which includes these commands.

Now the problem arises. When the commands are run by calling this fuction.it
shows error.
Why i am not able to run the unix command inside a function.
Please note i am not working as an user.
the main commands i use are awk,cp,date etc

Please help
Forum Sponsor
  #2  
Old 05-10-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,484
no double posting. read the rules. thread closed!
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0