by Thomas Weidenfeller <nobody@[EMAIL PROTECTED]
>
Mar 31, 2008 at 06:02 PM
z.entropic wrote:
> I can't figure out how to format the individual output fields of an
> array in the following short awk script:
>
> ( NR < 8 ) || ( $7 < 6 ) || ( $11 < 0.0 ) {
> next
> }
> s7 && ( $7 != s7 ) {
> V[++n] = FILENAME OFS $7 OFS c10 OFS V11 OFS $11
Store them formatted here:
V[++n] = sprintf( ... )
Or store each value individually
V[++n,1] = FILENAME
V[n, 2] = $7
V[n, 3] = c10
....
and format them in END
/Thomas