tsv - noqsi/noqsi-lepton-addons GitHub Wiki

The tsv module collects data from "tab-separated value" files in the Lepton data directories. The other tools here use it to obtain any tabular data they need.

Usage:

(use-modules (noqsi tsv))

The module defines one public function, tsv-data. Usage:

(tsv-data "some-data")

This searches for files named "some-data.tsv" in the Lepton system data directories, the user data directory (usually .gEDA in the home directory) and the working directory, in that order. It collects data from the files it finds. It ignores empty lines, lines with only "space" characters, and comment lines starting with "#". It uses the "tab" character as a field separator. The result is a list of lists of fields extracted from the lines in the data files.