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
Pass Kill with arguments aksmuralee UNIX for Advanced & Expert Users 4 04-25-2008 02:07 AM
Where to set program arguments in DDD debugger? princelinux Linux 2 06-15-2006 05:39 PM
two arguments with nawk program whatisthis Shell Programming and Scripting 4 02-22-2005 12:45 PM
How to pass arguments to a function in a shell script? preetikate Shell Programming and Scripting 3 03-01-2004 01:55 AM
Arguments to a shell program csvenkata UNIX for Advanced & Expert Users 3 10-23-2001 06:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2005
Registered User
 

Join Date: Jun 2005
Location: albama
Posts: 3
pass arguments to called c-shell program

Thank you very much.

Last edited by ShellUser; 06-22-2005 at 04:02 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 06-21-2005
Registered User
 

Join Date: Aug 2001
Posts: 179
set value1=$1 should work fine..Please post your script here
Reply With Quote
  #3  
Old 01-22-2008
prashant43's Avatar
Registered User
 

Join Date: Jan 2008
Posts: 19
How to read the values passed to function in ksh shekk scripting

I have a doubt.
Please answer to my query

In ksh shell,
There is a function f1.
function f1
{

....
....

}

I am passing values to fuunction f1 as

f1 "A" "B"

Please tell me how to read the passed values in function f1.

Advance Thanks & Regards
Prashant
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:55 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