#!/bin/sh
#
# oclip - OSC-52 ANSI escape sequence to copy text from remote to host
#
# usage:
#   remote $ cat some_file.txt | oclip

# shellcheck disable=SC2312
printf "\033]52;c;%s\007" "$(base64 | tr -d '\n')"
