shithub: rc

ref: 89a498506e6d401f430c06ce9ced1b9d0bd49d57
dir: /rag/

View raw version
#!/bin/rc
rfork e
raw=$1
file=`{basename $raw}
if(~ $raw http*//*)
	hget $raw >$rag/img/$file
if not
	fcp $raw $rag/img/^`{date -n}^.^$file