| commit | fd92b1da0bb0b5ced79b1dcbdfe75f13ac85b29c | [log] [tgz] |
|---|---|---|
| author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Mar 13 10:51:29 2024 +0100 |
| committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Mar 13 10:51:29 2024 +0100 |
| tree | 9f1bc53a85729294f94db496f5f2ed24120f02f1 | |
| parent | 73f1749fb2a44001cff91dbf3777c562ee460018 [diff] [blame] |
Pass through # eo[ft] also in sparse mode
diff --git a/src/index.js b/src/index.js index 23447f6..ab05072 100755 --- a/src/index.js +++ b/src/index.js
@@ -79,6 +79,9 @@ } else if (line.match('^#\\s*text_id')){ global.fileheader += `${line}\n`; return; + } else if (line.match('^#\\s*eo[ft]')){ + process.stdout.write(`${line}\n`); + return; } else if (line.match('^#')){ global.header += `${line}\n`; return;