![]() |
|
|
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 |
| help needed in variable assignment | gander_ss | Shell Programming and Scripting | 2 | 05-11-2007 03:13 AM |
| Variable assignment in shell scripting | jaiganeshbe | Shell Programming and Scripting | 2 | 02-28-2007 02:48 AM |
| awk variable assignment in a file | pondlife | Shell Programming and Scripting | 4 | 01-12-2006 04:54 AM |
| variable assignment in new shell | maverick80 | Shell Programming and Scripting | 7 | 09-03-2005 12:38 AM |
| @ in a variable assignment | rkap | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 11:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Variable assignment question
Hello,
I would like to assign number of lines in a file to a variable (to be passed later as an argument to a function). I am doing it like this: numLines=wc -l < file.txt which gives an error. Could somebody help? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|