The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Error in AWK Program
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Error in AWK Program
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-07-2008
shamrock
Registered User
Join Date: Oct 2007
Location: USA
Posts: 753
Quote:
Originally Posted by
bikas_jena
printf( "The square of ", i, " is ", i*i)
Add the missing %i's for printing the num & its square...
Code:
printf( "The square of %i is %i\n", i, i*i)
shamrock
View Public Profile
Find all posts by shamrock
Find shamrock's past nominations received
Find shamrock's present nominations given