![]() |
|
|
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 |
| assigning variables to their defaults | anchal_khare | UNIX for Advanced & Expert Users | 1 | 04-15-2009 11:22 PM |
| assigning variables from standard output | whamchaxed | UNIX for Dummies Questions & Answers | 2 | 12-04-2007 07:31 PM |
| Assigning file attributes to variables | olimiles | Shell Programming and Scripting | 5 | 08-18-2006 10:31 AM |
| assigning variables in sed command | wxornot | Shell Programming and Scripting | 3 | 02-04-2006 02:56 PM |
| assigning variables | k@ssidy | UNIX for Dummies Questions & Answers | 9 | 06-16-2005 11:20 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
variables not assigning in a function
Hi GUYS, I have function. I am assigning a line count to count variable. But it is throwing an error at this line. Code:
function_recur (){
#file being created in this function
lenth = `wc -l function_outpu.dat`;
echo $lenth;
}
this is the error i got Code:
rec.ksh[11]: lenth: not found. Please help me in resolving it.. Thanks for your help in advance. Regards, Magesh. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|