10 lines
178 B
Bash
Executable File
10 lines
178 B
Bash
Executable File
#!/bin/sh
|
|
OS=$(uname)
|
|
if [ "$OS" == "Linux" -o "$OS" == "FreeBSD" ] ; then
|
|
xsel -o -b
|
|
elif [ "$(uname)" == "Darwin" ] ; then
|
|
/usr/bin/pbpaste $*
|
|
else
|
|
echo "Unknown OS."
|
|
fi
|