-
Notifications
You must be signed in to change notification settings - Fork 1
/
pastebinit.xml
130 lines (124 loc) · 4.61 KB
/
pastebinit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY dhfirstname "<firstname>Stephane</firstname>">
<!ENTITY dhsurname "<surname>Graber</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 06, 2014</date>">
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>stgraber@ubuntu.com</email>">
<!ENTITY dhusername "Stephane Graber">
<!ENTITY dhucpackage "<refentrytitle>PASTEBINIT</refentrytitle>">
<!ENTITY dhpackage "pastebinit">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<copyright>
<year>2007-2014</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>command-line pastebin client</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-abfhiljmrtup</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> commands</para>
<para><command>&dhpackage;</command> reads text and sends it to a
"pastebin" on the internet, returning the URL to the user.</para>
<para>It allows the text to be passed through a pipe (|) or from
files as arguments.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<refsect2>
<title>Optional arguments (not supported by all pastebins)</title>
<variablelist>
<varlistentry>
<term><option>-a <arg>author</arg></option> (default: $USER)</term>
</varlistentry>
<varlistentry>
<term><option>-b <arg>pastebin url</arg></option> (default is distro-specific with a fallback to pastebin.com)</term>
</varlistentry>
<varlistentry>
<term><option>-E</option> Print the content to stdout too</term>
</varlistentry>
<varlistentry>
<term><option>-f <arg>format for syntax-highlighting</arg></option> (default: text)
(check pastebin's website for complete list, example: python)</term>
</varlistentry>
<varlistentry>
<term><option>-h</option> Help screen</term>
</varlistentry>
<varlistentry>
<term><option>-i <arg>filename</arg></option> Use filename for input</term>
</varlistentry>
<varlistentry>
<term><option>-l</option> List all the supported pastebins</term>
</varlistentry>
<varlistentry>
<term><option>-j <arg>jabberid</arg></option> (default: none)</term>
</varlistentry>
<varlistentry>
<term><option>-m <arg>permatag</arg></option> (default: none)</term>
</varlistentry>
<varlistentry>
<term><option>-t <arg>title of paste</arg></option> (default: none)</term>
</varlistentry>
<varlistentry>
<term><option>-P <arg>private</arg></option> (default: 1)</term>
</varlistentry>
<varlistentry>
<term><option>-u <arg>username</arg></option> (default: none)</term>
</varlistentry>
<varlistentry>
<term><option>-p <arg>password</arg></option> (default: none)</term>
</varlistentry>
<varlistentry>
<term><option>-v</option> Version number</term>
</varlistentry>
</variablelist>
</refsect2>
</refsect1>
<refsect1>
<title>CONFIGURATION FILE</title>
<para>If a .pastebinit.xml file is found in the user's home directory,
pastebinit will use it for its configuration.</para>
<para>Here's an example file:</para>
<code language="xml">
<pastebinit>
<pastebin>http://paste.ubuntu.com</pastebin>
<author>Stephane Graber</author>
<jabberid>stgraber@stgraber.org</jabberid>
<format>text</format>
</pastebinit>
</code>
</refsect1>
<refsect1>
<title>AUTHORS</title>
<para>Pastebinit is currently written by &dhfirstname; &dhsurname;.</para>
<para>username, password, format, title, arguments and redirect
support added by Daniel Bartlett.</para>
<para>Website: http://launchpad.net/pastebinit</para>
<para>E-mail: stgraber@ubuntu.com</para>
</refsect1>
</refentry>