nnn/plugins/pastebin

12 lines
203 B
Plaintext
Raw Normal View History

2019-03-24 15:03:27 +00:00
#!/usr/bin/env sh
2019-10-04 13:15:21 +00:00
# Description: Paste contents of a text a file http://ix.io
2019-03-24 15:03:27 +00:00
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
2019-11-21 20:44:25 +00:00
curl -F "f:1=@$1" ix.io
read -r _
2019-03-24 15:03:27 +00:00
fi