Skip to content

About

Munge a csv file into an EPICS substitution file

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Munge CSV files into an EPICS compatible substitution file. Compatible both with compile-time expansion with MSI and run-time expansion with dbLoadTemplate.

usage: ./csvToSubstitution [-hqf] [-o OUTPUT] FNAME ...

Formatting:

  • Separate files by an empty line
  • The first line after an empty line is the file being substituted. For compile-time expansion, the path is relative to the directory containing the substitution file. For run-time expansion it's relative to IOC top.
  • The second line after an empty line is the pattern.
  • The remaining lines until an all-commas line is found are substitution lines.
  • Comment lines with #.

Dependencies:

  • Python 3

Portable use: Drop the file into a location recognised by PATH.

Please consult the output of the --help switch for additional information.

About

Munge a csv file into an EPICS substitution file

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages