![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use of functions | amitrajvarma | Shell Programming and Scripting | 1 | 11-23-2007 03:52 AM |
| ksh functions | scriptingmani | Shell Programming and Scripting | 3 | 07-06-2007 04:15 AM |
| functions in | Raom | Shell Programming and Scripting | 6 | 07-21-2006 12:06 AM |
| Regarding functions | sendhilmani | Shell Programming and Scripting | 2 | 03-24-2006 01:40 AM |
| FTP functions | hzambra | High Level Programming | 3 | 05-03-2002 10:06 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
parameterised functions
Hi,
Can anybody tell me how to create a function with parameters in a shell script. cheers RRK |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Code:
function some(){
a=$1;
b=$2;
echo "$a $b";
}
some "Hello," "World!";
|
|
#3
|
|||
|
|||
|
Hi,
Thank u for answering . cheers RRK |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|