Skip to content
Scott Pakin edited this page Mar 8, 2018 · 9 revisions

Name

bfbin2xmlss - convert Byfl output to XML Spreadsheet format

Synopsis

bfbin2xmlss input_file.byfl [output_file.xml]

Description

By default, applications instrumented with Byfl write measurement data to a binary .byfl file. bfbin2xmlss converts such files to Microsoft Excel XML Spreadsheet 2003 format (henceforth, "XML Spreadsheet"). XML Spreadsheet has been superseded by Office Open XML (ECMA-376) but is represented by a simple, single, XML file, which is more convenient to process (e.g., with XSLT). LibreOffice Calc, Microsoft Excel 2003+, and Numbers for Mac (and perhaps a few other spreadsheet programs) can read XML Spreadsheet files directly.

Options

bfbin2xmlss has no command-line options. The program accepts the name of a .byfl file to read and, optionally, an XML Spreadsheet file to create. If the latter is not specified, bfbin2xmlss will write to the standard output device.

Examples

The simplest usage is just

$ bfbin2xmlss myprog.byfl myprog.xml

which produces myprog.xml. This can then be loaded into various spreadsheet programs.

If the .byfl file is expected to be used only to produce an XML Spreadsheet file and then deleted, one can save time and disk space by writing Byfl binary output to a named pipe and running bfbin2xmlss on that named pipe:

$ mkfifo myprog.pipe
$ bfbin2xmlss myprog.pipe myprog.xml &
$ env BF_BINOUT=myprog.pipe ./myprog
$ rm myprog.pipe

See also

bfbin2cgrind(1), bfbin2csv(1), bfbin2hdf5(1), bfbin2hpctk(1), bfbin2sqlite3(1), bf-clang(1), bf-clang++(1), bf-flang(1), the Byfl home page, the XML Spreadsheet Reference

Author

Scott Pakin, pakin@lanl.gov

Clone this wiki locally