Last change
on this file since 28 was 2, checked in by Sanahuja Guillaume, 9 years ago |
initial commit flaircore
|
File size:
338 bytes
|
Line | |
---|
1 | :writefromstart
|
---|
2 | 0,/%flair:license{/ {
|
---|
3 | p # print line
|
---|
4 | $b exit # exit if the license not found (branch to exit if on on the last line)
|
---|
5 | }
|
---|
6 |
|
---|
7 | # put license file after the line with %flair:license{
|
---|
8 | /%flair:license{/ {
|
---|
9 | r ./LICENSE-header.txt
|
---|
10 | }
|
---|
11 |
|
---|
12 | :writetillend
|
---|
13 | /%flair:license}/,$ {
|
---|
14 | p # print line
|
---|
15 | }
|
---|
16 |
|
---|
17 | :exit
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.