message: Output a CSV
diff: @@ -2,6 +2,8 @@ import click
  import tomlkit
  import subprocess
  import re
  +import csv
  +import sys
  def run_pipe(cmds, input):
  @@ -36,27 +38,29 @@ def brench(config_path, file):
  extract_re = re.compile(config['extract'])
  + # CSV for collected outputs.
  + writer = csv.writer(sys.stdout)
  + writer.writerow(['run', 'benchmark', 'result'])
  +
  for name, run in config['runs'].items():
  cmds = [
  c.format(args='5')
  for c in run['pipeline']
  ]
  - print(name, cmds)
  for fn in file:
  with open(fn) as f:
  in_data = f.read()
  stdout, stderr = run_pipe(cmds, in_data)
  # Look for results.
  + result = None
  for out in stdout, stderr:
  match = extract_re.search(out)
  if match:
  result = match.group(1)
  break
  - else:
  - print('no results')
  - continue
  - print(name, result)
  +
  + writer.writerow([name, fn, result or ''])
  if __name__ == '__main__':
  