Blurb

Blurb

Adds or updates a blurb to a wiki page in the zet.

Run it in the following way:

./blurb YOUR_PAGE

A page entry should exist already.

Check if it exists with:

<<sh>>=
weewiki zet pages | grep YOUR_PAGE

If nothing pops up, create it with

weewiki zet mkpage

<<blurb>>=
#!/bin/sh

if [[ "$#" -eq 0 ]]
then
    echo "Usage: $0 page"
fi

PAGE="!$1"

# var new won't do anything if it exists already
weewiki zet var new $PAGE blurb
weewiki zet var set $PAGE blurb

home | index