10 lines
144 B
Bash
Raw Normal View History

2026-02-19 20:27:50 +01:00
#! /bin/bash
# Check if exactly one argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <file>"
exit 1
fi
cat "$1" | wl-copy