tag(5)

tag5

Generic tagged file format

Usage

filename.tag

Overview

The .tag format is a generic catchall for many types of data which can be described as a series of tags.

Format

Tagged files consist of a number of records, each record being composed of a set of data items, which are labeled with a tag.

There is one reserved tag name, which is 'End', which is always the last tag in a record.

All .tag files start with a header record, the first line of which identifies the type of tag file. It is always of the form Tag- something -version: versionnumber

The rest of the header record can be any other tags as required.

Examples

Tag-carlog-version: 1.0
Description:: END_D
This file provides a convenient place to put information
about events in the life of a car, such as when they got
filled up with petrol (or gas if you prefer), and when they
were serviced.
END_D
Vehicle: Ferrari
End:
Odometer: 23097
Type: Fuel
Fuel: 38.56
Cost: 22.33
Where: Lands End
Date: 1-Apr-1998
Comments: Strange wailing from behind at 100, dies away at 150
End:
Odometer: 23274
Type: Service
Date: 2-Apr-1998
Description:: END_D
Took car into dealer, complained about noise, they
stripped the engine down but couldnt find anything
END_D
Cost: 500
End:
Odometer: 23285
Type: Fuel
Fuel: 36.22
Cost: 21.48
Date: 3-Apr-1998
End:
Odometer: 23320
Date: 4-Apr-1998
Type: Misc
Comments: Speeding fine
Cost: 100
End:

Releases

Unchanged in 4 releases since Debian 2.1 (Slink).

  1. 2.1–3.1

Author

John Lines ([email protected])

Bugs

This manpage is still very sketchy.

The format is intentionally less complex than, for example, SGML - this is also a feature.

From tag-types 0.0.9-4 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.