The TDA file format specification
| TDA | |
|---|---|
| Filename extension: | .tda |
| Shebangsat line (optional): | #!/@ -ttda |
| Magic: | (see shebangsat) |
| Encoding: | text (UTF-8) |
| Type of format: | log |
| Container for: | anything |
| Contained by: | compress, gzip, bzip2 |
| Expanded from: | DA |
Introduction
TDA extends the DA file format with a time stamp field.
Basic structure
If the first byte of the file is a number sign (#), all bytes up to and including the first newline are ignored.
A TDA file consists of a sequence of
<timestamp> <name>:<type><value>
where
Timestamp
<timestamp> must start on the first byte after a newline.
<timestamp> is an ASCII decimal number. The number may be negative, in which case it is prefixed by a hyphen (ASCII 45). The number may optionally have a fractional part, in which case a period (.) is used as a separator between the integral and fractional parts.
<timestamp> specifies SI seconds since 00:00:00 UTC on January 1, 1970, not counting leap seconds.
<timestamp> is separated from <name> by a single space (ASCII 32).
Name, Type and Value
The <name>, <type> and <value> fields are described in the DA file format specification.
Example file
#!/@ -ttda
1205396870.345232 a: 6
1205396871 mydata:<457676664e376987ebfed345de76987ed4545763>
1205396900 abc:<<EOD
multiline values
are also
possible
EOD
Real life examples
The log (verbose) output of the Orgone @ command.