![]() |
|
|
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 |
| A program to trace execution of another program | jiten_hegde | High Level Programming | 3 | 08-19-2008 06:26 AM |
| C++ map program - Error message | dhanamurthy | High Level Programming | 0 | 04-02-2008 07:57 PM |
| Program Error | Carmen123 | AIX | 0 | 11-23-2006 07:20 AM |
| unix - c program sending error from DB to email | chino_52284 | Shell Programming and Scripting | 2 | 04-28-2005 09:12 PM |
| Error Compiling C program | Vivek | High Level Programming | 3 | 10-25-2001 12:13 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Error in AWK Program
Hi Friends,
I need your help. I am not able to execute one awk program .If you can solve the following small program then i can solve other one. $ vi prg #!/bin/awk -f BEGIN { # Print the squares from 1 to 10 the first way i=1; while (i <= 10) { printf( "The square of ", i, " is ", i*i); i = i+1; } # now end exit; } then i made chmod 777 prg when i execute like $prg The square of The square of The square of The square of The square of The square of The square of The square of The square of The square of $ its coming like this. Please let me know where i have done the mistake. Thanks in advance Bikas |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|