![]() |
|
|
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 |
| recording command outputs in background | jehrome_rando | Shell Programming and Scripting | 2 | 02-16-2009 05:13 PM |
| compare 2 outputs | melanie_pfefer | Shell Programming and Scripting | 1 | 05-21-2008 10:20 AM |
| handling Multiline SQL outputs | decci_7 | Shell Programming and Scripting | 5 | 01-08-2008 07:29 PM |
| How to set the File Paths for Inputs and Outputs | Amruta Pitkar | UNIX for Dummies Questions & Answers | 1 | 10-31-2006 05:19 PM |
| I may have accidentally redefined one of the outputs... | joang | SUN Solaris | 2 | 03-22-2005 10:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Printing outputs using awk.
I have a output of a command like this.
the command is : bdf|sed '/^e/d'|awk '{print$2/1048576}' output : 0 0.515625 0.481979 2 2 2 7.8125 4 2 0.488281 7.8125 3.90625 4 1.95312 1 0.488281 15.625 7.8125 5.85938 0.20417 0.00119781 0.000595093 0.000587463 0.000587463 0.835808 0.206657 0.72831 0.000587463 0.000602722 0.000587463 1.73286 79.8446 6.20604 0.00723267 4.98518 i want to print only 2 digits after . please let me know how to do that? thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|