#!/bin/sh # Get my basic account skeleton through wget or curl # Where my skeleton is stored URL=http://bruno.boulgour.com/skel # Use wget, curl or do nothing if which wget 1>/dev/null ; then awkprog='{print "'$URL'/"$0 }' cmd="wget -i - -nH --cut-dirs=1 -r" elif which curl 1>/dev/null ; then awkprog='{print "url='$URL'/{"$0"}"; print "create-dirs"; print "o=#1"}' cmd="curl -K -" else printf "\n$(basename $0): wget and curl not found.\n\n" 1>&2 exit 1 fi # Getting files cat <