#! /bin/bash # Check if exactly one argument is provided if [ "$#" -ne 1 ]; then echo "Usage: $0 " exit 1 fi cat "$1" | wl-copy