add awk script to generate html preview from card script for checking card images
parent
5c8e188cd4
commit
80b8f0900b
|
@ -0,0 +1,14 @@
|
|||
# input: card scripts
|
||||
# output: html file with name and image
|
||||
|
||||
BEGIN {
|
||||
FS = "="
|
||||
}
|
||||
|
||||
/name=/ {
|
||||
print "<p>" $2 "</p>"
|
||||
}
|
||||
|
||||
/image=/ {
|
||||
print "<img src=\"" $2 "\"/>"
|
||||
}
|
Loading…
Reference in New Issue