![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Return an array of strings from user defined function in awk | user_prady | Shell Programming and Scripting | 2 | 12-04-2007 12:03 AM |
| need help with User Defined Function | user_prady | Shell Programming and Scripting | 11 | 11-18-2007 08:51 PM |
| awk printf for user defined variables | jabberwocky | Shell Programming and Scripting | 1 | 10-02-2007 08:07 AM |
| User defined service | markdrury | UNIX for Dummies Questions & Answers | 1 | 02-09-2006 01:08 AM |
| User defined signal 1 | nitesh_raj | AIX | 0 | 01-29-2005 02:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Nawk user-defined function
HELP!!!! I am in an on-line shell programming class and have a question. Here is the data:
Mike Harrington 510) 548-1278:250:100:175Christian Dobbins 408) 538-2358:155:90:201Susan Dalsass 206) 654-6279:250:60:50 (There are 12 contribuors total) This database contains names, phone numbers and money contributions to a party campaigh for the past three months. How do I write a user-defined function to return the average of all the contributions for a given month? The month will be passed in at the command line. Thanks!! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|