mirror of
https://github.com/jarun/nnn.git
synced 2024-11-16 16:13:16 +00:00
14 lines
269 B
Plaintext
14 lines
269 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Description: Paste contents of a text a file to paste.ubuntu.com using pastebinit
|
||
|
#
|
||
|
# pastebinit: https://launchpad.net/pastebinit
|
||
|
#
|
||
|
# Shell: POSIX compliant
|
||
|
# Author: Arun Prakash Jana
|
||
|
|
||
|
if ! [ -z "$1" ]; then
|
||
|
pastebinit "$1"
|
||
|
read input
|
||
|
fi
|