repo.or.cz
/
libserialport.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sp: clear HUPCL to preserve control lines on close
[libserialport.git]
/
config-header.py
blob
583fe27753996b288436fd527d0d013f88ef24e2
1
pattern
=
str
.
join
(
''
,
open
(
"config-pattern"
).
readlines
())
2
for
line
in
open
(
"config-fields"
).
readlines
():
3
print
pattern
.
format
(*
line
.
rstrip
(
"
\n
"
).
split
(
","
))