|
|
@ -1,4 +1,4 @@ |
|
|
|
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) |
|
|
|
.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) |
|
|
|
.\" |
|
|
|
.\" Standard preamble: |
|
|
|
.\" ======================================================================== |
|
|
@ -46,7 +46,7 @@ |
|
|
|
.ie \n(.g .ds Aq \(aq |
|
|
|
.el .ds Aq ' |
|
|
|
.\" |
|
|
|
.\" If the F register is turned on, we'll generate index entries on stderr for |
|
|
|
.\" If the F register is >0, we'll generate index entries on stderr for |
|
|
|
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
|
|
|
.\" entries marked with X<> in POD. Of course, you'll have to process the |
|
|
|
.\" output yourself in some meaningful fashion. |
|
|
@ -56,12 +56,12 @@ |
|
|
|
.. |
|
|
|
.nr rF 0 |
|
|
|
.if \n(.g .if rF .nr rF 1 |
|
|
|
.if (\n(rF:(\n(.g==0)) \{ |
|
|
|
. if \nF \{ |
|
|
|
.if (\n(rF:(\n(.g==0)) \{\ |
|
|
|
. if \nF \{\ |
|
|
|
. de IX |
|
|
|
. tm Index:\\$1\t\\n%\t"\\$2" |
|
|
|
.. |
|
|
|
. if !\nF==2 \{ |
|
|
|
. if !\nF==2 \{\ |
|
|
|
. nr % 0 |
|
|
|
. nr F 2 |
|
|
|
. \} |
|
|
@ -71,7 +71,7 @@ |
|
|
|
.\" ======================================================================== |
|
|
|
.\" |
|
|
|
.IX Title "WGETPASTE 1" |
|
|
|
.TH WGETPASTE 1 "2015-01-25" "2.25" "SlackBuilds.org" |
|
|
|
.TH WGETPASTE 1 "2023-12-20" "2.33" "SlackBuilds.org" |
|
|
|
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
|
|
|
.\" way too many mistakes in technical documents. |
|
|
|
.if n .ad l |
|
|
@ -83,73 +83,76 @@ wgetpaste \- Command\-line interface to various pastebin sites |
|
|
|
wgetpaste [options] [file[s]] |
|
|
|
.SH "OPTIONS" |
|
|
|
.IX Header "OPTIONS" |
|
|
|
.IP "\-l, \-\-language \s-1LANG\s0" 4 |
|
|
|
.IX Item "-l, --language LANG" |
|
|
|
.IP "\fB\-l\fR, \fB\-\-language\fR \fIlang\fR" 4 |
|
|
|
.IX Item "-l, --language lang" |
|
|
|
set language (defaults to \*(L"Plain Text\*(R") |
|
|
|
.IP "\-d, \-\-description \s-1DESCRIPTION\s0" 4 |
|
|
|
.IX Item "-d, --description DESCRIPTION" |
|
|
|
.IP "\fB\-d\fR, \fB\-\-description\fR \fIdescription\fR" 4 |
|
|
|
.IX Item "-d, --description description" |
|
|
|
set description (defaults to \*(L"stdin\*(R" or filename) |
|
|
|
.IP "\-n, \-\-nick \s-1NICK\s0" 4 |
|
|
|
.IX Item "-n, --nick NICK" |
|
|
|
.IP "\fB\-n\fR, \fB\-\-nick\fR \fInick\fR" 4 |
|
|
|
.IX Item "-n, --nick nick" |
|
|
|
set nick (defaults to your username) |
|
|
|
.IP "\-s, \-\-service \s-1SERVICE\s0" 4 |
|
|
|
.IX Item "-s, --service SERVICE" |
|
|
|
set service to use (defaults to \*(L"dpaste\*(R") |
|
|
|
.IP "\-e, \-\-expiration \s-1EXPIRATION\s0" 4 |
|
|
|
.IX Item "-e, --expiration EXPIRATION" |
|
|
|
.IP "\fB\-s\fR, \fB\-\-service\fR \fIservice\fR" 4 |
|
|
|
.IX Item "-s, --service service" |
|
|
|
set service to use (defaults to \fIbpaste\fR) |
|
|
|
.IP "\fB\-e\fR, \fB\-\-expiration\fR \fIexpiration\fR" 4 |
|
|
|
.IX Item "-e, --expiration expiration" |
|
|
|
set when it should expire (defaults to \*(L"1 month\*(R") |
|
|
|
.IP "\-S, \-\-list\-services" 4 |
|
|
|
.IP "\fB\-S\fR, \fB\-\-list\-services\fR" 4 |
|
|
|
.IX Item "-S, --list-services" |
|
|
|
list supported pastebin services |
|
|
|
.IP "\-L, \-\-list\-languages" 4 |
|
|
|
.IP "\fB\-L\fR, \fB\-\-list\-languages\fR" 4 |
|
|
|
.IX Item "-L, --list-languages" |
|
|
|
list languages supported by the specified service |
|
|
|
.IP "\-E, \-\-list\-expiration" 4 |
|
|
|
.IP "\fB\-E\fR, \fB\-\-list\-expiration\fR" 4 |
|
|
|
.IX Item "-E, --list-expiration" |
|
|
|
list expiration setting supported by the specified service |
|
|
|
.IP "\-u, \-\-tinyurl \s-1URL\s0" 4 |
|
|
|
.IX Item "-u, --tinyurl URL" |
|
|
|
.IP "\fB\-u\fR, \fB\-\-tinyurl\fR \fIurl\fR" 4 |
|
|
|
.IX Item "-u, --tinyurl url" |
|
|
|
convert input url to tinyurl |
|
|
|
.IP "\-c, \-\-command \s-1COMMAND\s0" 4 |
|
|
|
.IX Item "-c, --command COMMAND" |
|
|
|
.IP "\fB\-c\fR, \fB\-\-command\fR \fIcommand\fR" 4 |
|
|
|
.IX Item "-c, --command command" |
|
|
|
paste \s-1COMMAND\s0 and the output of \s-1COMMAND\s0 |
|
|
|
.IP "\-i, \-\-info" 4 |
|
|
|
.IP "\fB\-i\fR, \fB\-\-info\fR" 4 |
|
|
|
.IX Item "-i, --info" |
|
|
|
append the output of `wgetpaste_info` |
|
|
|
.IP "\-I, \-\-info\-only" 4 |
|
|
|
.IP "\fB\-I\fR, \fB\-\-info\-only\fR" 4 |
|
|
|
.IX Item "-I, --info-only" |
|
|
|
paste the output of `wgetpaste_info` only |
|
|
|
.IP "\-x, \-\-xcut" 4 |
|
|
|
.IP "\fB\-x\fR, \fB\-\-xcut\fR" 4 |
|
|
|
.IX Item "-x, --xcut" |
|
|
|
read input from clipboard (requires xclip) |
|
|
|
.IP "\-X, \-\-xpaste" 4 |
|
|
|
read input from clipboard (requires \fBxclip\fR(1)) |
|
|
|
.IP "\fB\-X\fR, \fB\-\-xpaste\fR" 4 |
|
|
|
.IX Item "-X, --xpaste" |
|
|
|
write resulting url to the X primary selection buffer (requires xclip) |
|
|
|
.IP "\-C, \-\-xclippaste" 4 |
|
|
|
write resulting url to the X primary selection buffer (requires \fBxclip\fR(1)) |
|
|
|
.IP "\fB\-C\fR, \fB\-\-xclippaste\fR" 4 |
|
|
|
.IX Item "-C, --xclippaste" |
|
|
|
write resulting url to the X clipboard selection buffer (requires xclip) |
|
|
|
.IP "\-r, \-\-raw" 4 |
|
|
|
write resulting url to the X clipboard selection buffer (requires \fBxclip\fR(1)) |
|
|
|
.IP "\fB\-N\fR, \fB\-\-no\-ansi\fR" 4 |
|
|
|
.IX Item "-N, --no-ansi" |
|
|
|
strip \s-1ANSI\s0 codes such as colors before pasting (requires \fBansifilter\fR(1)) |
|
|
|
.IP "\fB\-r\fR, \fB\-\-raw\fR" 4 |
|
|
|
.IX Item "-r, --raw" |
|
|
|
show url for the raw paste (no syntax highlighting or html) |
|
|
|
.IP "\-t, \-\-tee" 4 |
|
|
|
.IP "\fB\-t\fR, \fB\-\-tee\fR" 4 |
|
|
|
.IX Item "-t, --tee" |
|
|
|
use tee to show what is being pasted |
|
|
|
.IP "\-v, \-\-verbose" 4 |
|
|
|
.IP "\fB\-v\fR, \fB\-\-verbose\fR" 4 |
|
|
|
.IX Item "-v, --verbose" |
|
|
|
show wget stderr output if no url is received |
|
|
|
.IP "\-\-completions" 4 |
|
|
|
.IP "\fB\-\-completions\fR" 4 |
|
|
|
.IX Item "--completions" |
|
|
|
emit output suitable for shell completions (only affects \-\-list\-*) |
|
|
|
.IP "\-\-debug" 4 |
|
|
|
emit output suitable for shell completions (only affects \fB\-\-list\-*\fR) |
|
|
|
.IP "\fB\-\-debug\fR" 4 |
|
|
|
.IX Item "--debug" |
|
|
|
be *very* verbose (implies \-v) |
|
|
|
.IP "\-h, \-\-help" 4 |
|
|
|
be *very* verbose (implies \fB\-v\fR) |
|
|
|
.IP "\fB\-h\fR, \fB\-\-help\fR" 4 |
|
|
|
.IX Item "-h, --help" |
|
|
|
show this help |
|
|
|
.IP "\-g, \-\-ignore\-configs" 4 |
|
|
|
.IP "\fB\-g\fR, \fB\-\-ignore\-configs\fR" 4 |
|
|
|
.IX Item "-g, --ignore-configs" |
|
|
|
ignore /etc/wgetpaste.conf, ~/.wgetpaste.conf etc. |
|
|
|
.IP "\-\-version" 4 |
|
|
|
.IP "\fB\-\-version\fR" 4 |
|
|
|
.IX Item "--version" |
|
|
|
show version information |
|
|
|
.PP |
|
|
@ -164,9 +167,11 @@ HEADER_gists=\*(L"Authorization: token 1234abc56789...\*(R" |
|
|
|
.IX Header "BUGS" |
|
|
|
\&\fBwgetpaste\fR works by hard-coding URLs and \s-1CGI\s0 parameters into |
|
|
|
the script. This means that if a paste service's web site changes, |
|
|
|
\&\fBwgetpaste\fR might stop working with that site. Currently (January 2015), |
|
|
|
the \fBca\fR (http://pastebin.ca) and \fBbpaste\fR (http://bpaste.net) services |
|
|
|
are broken, and the others have been tested and work \s-1OK.\s0 |
|
|
|
\&\fBwgetpaste\fR might stop working with that site. Currently (December |
|
|
|
2023), the \fI0x0\fR, \fIdpaste\fR, \fIsprunge\fR, \fIbpaste\fR (default) services |
|
|
|
are working, the \fIcodepad\fR and \fIix_io\fR services are not working, |
|
|
|
and \fIgists\fR and \fIsnippets\fR are untested because they require user |
|
|
|
account creation. |
|
|
|
.SH "AUTHOR" |
|
|
|
.IX Header "AUTHOR" |
|
|
|
Copyright (c) 2007 Bo Ørsted Andresen <bo.andresen@zlin.dk> |
|
|
|