aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pastebin
blob: 61039e662127c2ad7bc2dfbc25638dcd5cf8b05a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

# Description: Paste contents of a text a file http://ix.io
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana

if ! [ -z "$1" ]; then
    curl -F "f:1=@$1" ix.io
    read -r _
fi