TDAT2ASCII(1SP)

NAME
tdat2ascii - converts a Tdat file structure to an ascii stream

SYNOPSIS
<stdin> | tdat2ascii [options] | <stdout>

DESCRIPTION
tdat2ascii reads a tdat file either from the specified input file (-f infilename ) or from standard input and writes the ascii data values either to a specified output file (-o outfilename ) or to <stdout> Header values are lost in the process. The data is written by column, so all of column (time) 0 is written, from row 0, followed by all of column 1 and so on. If the data type is float, the output will have decimal points.

OPTIONS

-f input file name
    [stdin]

-o output file name
    [stdout]

-h online help

EXAMPLE

% tdat2ascii < u31.tdat | awk \
 '{tot += $1;ct++;} END {print tot/ct;}'

will print the average data value in the file u31.tdat

SEE ALSO
tdat(5SP)

BUGS

AUTHORS
Center for Spoken Language Understanding
Department of Computer Science and Engineering
Oregon Graduate Institute of Science & Technology