mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
12 lines
206 B
Bash
Executable file
12 lines
206 B
Bash
Executable file
#!/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 input
|
|
fi
|