monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 08fbf73988524ea560bf3f0878c6045301744592
parent beb90e8a3405b2f43245bf47ea6992a7808fa8dd
Author: z3bra <willy@mailoo.org>
Date:   Thu, 28 May 2015 10:54:29 +0200

made publi.sh more straighforward to use

Diffstat:
publi.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/publi.sh b/publi.sh @@ -9,7 +9,7 @@ last=$(<index.txt cut -d' ' -f2 | sed 's/0x0*//;1q') next=$(printf "0x%04x" `echo "1 16i${last}+p"|dc`) # format our title and put it in a temp file -sed '1s/^# /* '$next' - /;1p;d' last.txt > tmp.txt +title=$(sed '1s/^# /* '$next' - /;1p;d' < last.txt) sed -i "s(#)(${link/.txt/.html})" tmp.txt # present out the final index for reviewing