shithub: bin.rc

ref: 171d78f72e972c8671e39b064e9d1072f3130560
dir: /bin/Y/

View raw version
#!/bin/rc
# Yank [register]
if(~ $#* 1){
	where=/env/$1
	echo '>cat >>'$where
}
if not {
	where=/env/yXy
	cat /dev/snarf >$where
	echo '>cat >>'$where
	echo '!cat $where >/dev/snarf'
}