#!/bin/bash --norc 

	sgruSed() {
		sed -r -e 's/.*&url=//' -e 's/&.*//' -e 's;%2[Ff];/;g' -e 's;%3[Aa];:;g' -e 's;%25;%;g' -e 's;%7[Ee];~;g'
	}

	if [ $# -eq 0 ]; then		klip get	|sgruSed
	elif [ "$1" == - ]; then				 sgruSed
	else						echo "$1"	|sgruSed
	fi
