mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
4 lines
182 B
Bash
4 lines
182 B
Bash
|
#!/bin/sh
|
||
|
[ -f "${1}" ] && op=cat
|
||
|
${op:-echo} "${1:-`cat -`}" | curl -sF f='@-' -F expire=129600 'https://oshi.at' | tail -n 1 | cut -d ' ' -f 2 | tee /dev/stderr | xclip -sel clip
|