Bourne Shell powered zero-conf static site generator, gopher log phriendly, & ultra portable - originally created to create simple www web logs turns out to work pretty darn well for phlogs. use. fork. enjoy! (now the Official Repo!) :E
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
364 B

#!/bin/sh
# this filter is a null filter; meaning it spits out
# exactly what was passed in
FORMAT_FUNC=$1 # the name of the format function used is passed in
IFS="" # ensures that leading spaces are retained
while read -r IN <&0 ; do # break after 1 sec of no stdin
echo "${IN}" # echo's stdin back out so user can see
done