nnn/plugins/pastebin

12 lines
206 B
Text
Raw Normal View History

2019-03-24 20:33:27 +05:30
#!/usr/bin/env sh
2019-10-04 18:45:21 +05:30
# Description: Paste contents of a text a file http://ix.io
2019-03-24 20:33:27 +05:30
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
2019-10-04 18:45:21 +05:30
curl -F "f:1=@"$1"" ix.io
2019-03-24 20:33:27 +05:30
read input
fi