![]() |
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 |
| printing output more than 13 | Krrishv | Shell Programming and Scripting | 2 | 01-22-2007 05:35 AM |
| Printing to a Savin - Size of output wrong | h1timmboy | AIX | 2 | 02-28-2006 09:19 AM |
| Round off decimal number to 2 decimal places? | Vozx | Shell Programming and Scripting | 1 | 12-07-2005 10:53 PM |
| Printing output to the monitor | jyotipg | Shell Programming and Scripting | 2 | 06-22-2004 05:41 AM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 10:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Awking!! Printing decimal output is struck
Hi friends,
I have a small problem with AWK. I am not able to print decimal values! below is my code:#! /bin/awk -f awk BEGIN{printf("%d",123)}; -> This prints the integer properly. x=111 awk BEGIN{printf("%d",x)}; -> This doesnt print! ![]() Please help me solve this. It is printing 0 as output. Thanks, Divya |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|