10 lines
144 B
Bash
10 lines
144 B
Bash
|
|
#! /bin/bash
|
||
|
|
|
||
|
|
# Check if exactly one argument is provided
|
||
|
|
if [ "$#" -ne 1 ]; then
|
||
|
|
echo "Usage: $0 <file>"
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
cat "$1" | wl-copy
|