sp: clear HUPCL to preserve control lines on close
[libserialport.git] / config-header.py
blob583fe27753996b288436fd527d0d013f88ef24e2
1 pattern = str.join('', open("config-pattern").readlines())
2 for line in open("config-fields").readlines():
3 print pattern.format(*line.rstrip("\n").split(","))