bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: paresh doshi
Subject: (no subject)
Date: Wed, 22 Oct 2008 02:21:12 -0700 (PDT)

 
> sir,
>  
> using awk (on SCO Unix)  i tried to take a summary of a datafile
> the code used is:
> awk '
> FILENAME == "FLN" {balance[substr($0,14,3)] += substr($0,17,13) {
> END {for ( name in balance )  printf("%013s %3s of %8s\n",
> balance[name]/100,name,dt) | "sort" } ' fln
>  
>  
> THE result i get is not proper.  Where the amounts are large,
> it displays total in some odd fashion.
>  
> Can u please see where I am making mistake.
>  
> Doshi


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]