#!/bin/sh xclip -o -t text/plain | sed -E 's|.*/(.*)|[`\1`](\0)|' | xclip -selection clipboard