|
|
tmkfile - tgtimes - Unnamed repository; edit this file 'description' to name the repository. |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
|
--- |
|
|
|
tmkfile (613B) |
|
|
|
--- |
|
|
|
1 gph=/n/bitreich/bitreich/gopher |
|
|
|
2 srv=/srv/ssh.bitreich |
|
|
|
3 |
|
|
|
4 bitreich.md:V: $gph |
|
|
|
5 mkdir -p news/bitreich |
|
|
|
6 md=`{sed -rn 's,.*\|([^|]*phlog/[^|]*).*,'$gph'\1,p' $gph/news.gph | tail -n15} |
|
|
|
7 cp $md news/bitreich |
|
|
|
8 |
|
|
|
9 bitreich.mw:V: |
|
|
|
10 mkdir -p news/part |
|
|
|
11 for(md in `{ls news/bitreich/*.md}){ |
|
|
|
12 mw=`{sed '1,2d; s/[^0-9A-Za-z]+/-/g; s/-*$//; 3q' $md} |
|
|
|
13 mw=news/article-bitreich-^`{echo $mw | tr A-Z a-z}^.mw |
|
|
|
14 author=`{sed -n 2p $md} |
|
|
|
15 sed '1,2d; 3s/^/# /' $md | notmarkdown-ms | |
|
|
|
16 sed '1s/.NH [0-9]+/.SH '$author'/' >$mw |
|
|
|
17 } |
|
|
|
18 |
|
|
|
19 $gph: $srv |
|
|
|
20 mount -c /srv/ssh.bitreich /n/bitreich |
|
|
|
21 |
|
|
|
22 $srv: |
|
|
|
23 sshfs -r / -s ssh.bitreich $user@bitreich.org |
|