-- Leo's gemini proxy

-- Connecting to dots.omarpolo.com:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en

clip


clip is a small utility to manage the X clipboard sensibly. It's meant to be used interactively, not in scripts.


if the standard input is not a tty, slurp everything (except the last newline!) to the clipboard


if [ ! -t 0 ]; then
	exec xclip -r -selection clipboard >/dev/null
fi

otherwise output its contents


exec xclip -o -selection clipboard

-- Response ended

-- Page fetched on Sat Apr 27 09:40:52 2024