source:
src/sen-nl.sed
@
93afab8
Last change on this file since 93afab8 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.