![]() |
|
|
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 |
| Converting Binary decimal coded values to Ascii Values | gaur.deepti | UNIX for Advanced & Expert Users | 3 | 04-02-2008 01:33 PM |
| Aggregate values in a file & compare with sql output | shiroh_1982 | UNIX for Dummies Questions & Answers | 1 | 09-02-2007 08:40 AM |
| How to Display a range of values in the output of cat | venu_nbk | UNIX for Dummies Questions & Answers | 8 | 05-13-2007 02:13 AM |
| HTTP Query Request & Parsing returned XML output | jerardfjay | Shell Programming and Scripting | 15 | 05-18-2005 10:25 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Somebody can please give a highlight on this. The problem shows only on Linux(Redhat) not any other unix flavors
Linux : $unset m $m=`find . -newer rman_padev_20051206195000.out -name "*L0.rman" -exec ls -l {} \; | awk '{ s+=$5 } END{printf("%.0f", s)}'` $echo $m 7425089536 $typeset -i i $((i=$m*1)); echo $i -1164845056 $unset m $typeset -i m $m=`find . -newer rman_padev_20051206195000.out -name "*L0.rman" -exec ls -l {} \; | awk '{ s+=$5 } END{printf("%.0f", s)}'` $echo $m -1164845056 I tried to use '%d' or '%i' in awk print format. But that return scientific (exponential) output in linux ksh. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|