#!/bin/sh # if no $1 then ask for person name grep $1 ~/sharedlinks | sed "s/$1 //" | sed "$ s/^/
/" | tac | sed "$ s/$/<\/table><\/html>/" | sed "s/^/ | |
/" | sed "s/^\(.*\) +0200 \(.*\)/\1<\/td> | \2/" | sed "s/http\([^ ]*\)/http\1<\/a>/g" | sed "s/$/<\/td><\/tr>/" > ~/web/benetou.fr/fabien/pub/sharedlinks/$1.html |