#!/bin/sh
#
#  slink.sh, a bash script by duus made on Fri Dec 28 01:53:40 EST 2007 
#  lives in: ~/Documents//Software/unixscripts//system/slink.sh 
#  run binedit slink to edit.  see binedit help for more information
#
_SCRIPT_NAME=slink             
_SCRIPT_LOCATION=~/bin/             
#             
if [ "$1" = "version" ]                
	then                                 
	grep "^#v" $_SCRIPT_LOCATION/${_SCRIPT_NAME} | more
	exit 1;
elif [ "$1" = "h" -o "$1" = "help" ]
	then
	grep "^#h" $_SCRIPT_LOCATION/${_SCRIPT_NAME} | more
	exit 1;
fi
# --- normal script here ---           
#v slink v 1.0 
#h slink name_for_link linked_to   
#h   makes a symbolic link to linked_to, called name_for_link  
_nameforlink=$1
_linkedto=$2
ln -sv ${_linkedto} ${_nameforlink} 
# -------------------------- 
# 
# end slink
# add the footer.
# --------------------------
# <tt>                 :               end redo
#                      . 
#            ...---.,o8:i__,8Pd8   
#         _//      `"' :  d8'",8d8   
#       ,/''  vVv      . dP   b8P.8|
#      ./;|  d^_^b     .     ,P O||]
#       |||  duus@thedu.us\     |||| 
#       |||  duus.thedu.us/      || 
#       ||\            .        /_' 
#        ;+,           :       |\8
#          '.`>+.     _./'_/2/b/_
#           '-oh\._.._j:;'`P;8/,
#              `'->:o:.:src/='
#                      :    
#                      :    http://thedu.us/scripts/system/slink 
# </tt>                .    Last invoked: Jan 31, 2008, when duus was feeling high.
# -------------------------- 
