source:
src/sen-nl.sed
@
743cc4f
Last change on this file since 743cc4f was 743cc4f, checked in by Mateusz Hromada <ruanda@…>, 15 years ago | |
---|---|
|
|
File size: 207 bytes |
Rev | Line | |
---|---|---|
[743cc4f] | 1 | #!/bin/sed -rf |
2 | ||
3 | 1 s/^(([0-9]+)[ \t][0-9]+[ \t].*)$/\2 00 BOS \*\n\1/ | |
4 | t | |
5 | $! s/(([0-9]+)[ \t][0-9]+[ \t][[:alpha:]]+[ \t]+[[:print:]]*\\n.*)$/\2 00 EOS *\n\2 00 BOS *\n\1/ | |
6 | $ s/^(([0-9]+) .*)$/\1\n\2 00 EOS */' |
Note: See TracBrowser
for help on using the repository browser.