forked from gregkh/bti
/
bti-shrink-urls.xml
92 lines (83 loc) · 2.71 KB
/
bti-shrink-urls.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
<?xml version='1.0'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<article>
<section>
<title>bti-shrink-urls</title>
<refentry>
<refentryinfo>
<title>bti-shrink-urls</title>
<date>March 2009</date>
<productname>bti-shrink-urls</productname>
</refentryinfo>
<refmeta>
<refentrytitle>bti-shrink-urls</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version"></refmiscinfo>
</refmeta>
<refnamediv>
<refname>bti-shrink-urls</refname>
<refpurpose>convert URLs to a shorter form using a web service</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>bti</command>
<arg><option>--escaped</option></arg>
<arg><option>--help</option></arg>
<arg><option>URL</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>DESCRIPTION</title>
<para>
bti-shrink-urls converts URLs to a shorter form using a web service.
</para>
<para>
Currently only http://2tu.us/ is supported.
</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist>
<varlistentry>
<term><option>--escaped</option></term>
<listitem>
<para>
Don't escape special characters in the URL any more, they are
already percent encoded.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--help</option></term>
<listitem>
<para>
Print help text.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>URL</option></term>
<listitem>
<para>
Specify the URL to be converted. If no URL is given
bti-shrink-urls waits for input on stdin.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1><title>AUTHOR</title>
<para>Written by Bart Trojanowski <email>bart@jukie.net</email>.</para>
</refsect1>
<refsect1><title>COPYRIGHT AND LICENSE</title>
<para>
Copyright (C) 2009 Bart Trojanowski <email>bart@jukie.net</email>.
</para>
<para>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation version 2 of the License.
</para>
</refsect1>
</refentry>
</section>
</article>