Commit Diff
Diff:
27298e61100c56e90de3f5fa9a7459dc5206828b
ea5bc00ec778d1d51924fbce04b4f378c737fefe
Commit:
ea5bc00ec778d1d51924fbce04b4f378c737fefe
Tree:
58e5c19c927b6ecb0434f8f49bb8fac644a26f94
Author:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Committer:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Date:
Thu Apr 19 15:28:19 2012 UTC
Message:
updated man page
blob - 0ef2677c8f40f602fdadf3b795c2c7e5384688a4
blob + 9f2d1e53887be92c8c865e3a4c9cfe84066479ac
--- pkgtxt2db.man
+++ pkgtxt2db.man
@@ -1,4 +1,4 @@
-.TH "pkgtxt2db" 1 "01/31/2012" "Frederic Galusik"
+.TH "pkgtxt2db" 1 "04/19/2012" "Frederic Galusik"
.SH NAME
@@ -7,7 +7,7 @@
pkgtxt2db \- A perl utility to convert the Slackware PACKAGES.TXT to a database.
.P
-Are supported: CSV, JSON
+Are supported: CSV, JSON, XML
.SH SYNOPSIS
@@ -17,7 +17,7 @@ Are supported: CSV, JSON
.SH DESCRIPTION
.P
-\fBPkgtxt2db\fR is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON.
+\fBPkgtxt2db\fR is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON, XML.
.SH GENERAL OPTIONS
@@ -38,6 +38,10 @@ Convert PACKAGES.TXT to a CSV database.
Convert PACKAGES.TXT to a JSON database.
.TP
+\fB\-x\fR, \fB\-\-xml\fR
+Convert PACKAGES.TXT to a XML database
+
+.TP
\fB\-t\fR, \fB\-\-target\fR
Choose between Slackware or Salix repositories.
@@ -69,13 +73,13 @@ Here are some usages examples.
.TP
\fBpkgtxt2db \-c \-t slack32 \-r current\fR
It will fetch and convert PACKAGES.TXT from the Slackware current i486
-repository to a CSV database (tab separated): \fIpkgtxt.csv\fR.
+repository to a CSV database (tab separated): \fIslack32\-current.csv\fR.
You can open it with libreoffice ;)
.TP
\fBpkgtxt2db \-j \-t salix64 \-r 13.37\fR
It will fetch and convert PACKAGES.TXT from the Salix 13.37 x86\-64
-repository to a JSON database: \fIpkgtxt.json\fR.
+repository to a JSON database: \fIsalix64\-13.37.json\fR.
.SH WEBSITE
@@ -88,4 +92,4 @@ http://www.salixos.org/wiki/index.php/Pkgtxt2db
Pkgtxt2db was written by Frederic Galusik <fredg~at~salixos~dot~org>
.\" man code generated by txt2tags 2.6 (http://txt2tags.org)
-.\" cmdline: txt2tags -t man pkgtxt2db.t2t
+.\" cmdline: txt2tags -i pkgtxt2db.t2t
blob - a02d8d15b7446531bef9f788f55871496ea686e3
blob + 07bcd712cc2a8fdb6ccbbfbeca0da8e0bf40cdf1
--- pkgtxt2db.t2t
+++ pkgtxt2db.t2t
@@ -9,7 +9,7 @@ Frederic Galusik
pkgtxt2db - A perl utility to convert the Slackware PACKAGES.TXT to a database.
-Are supported: CSV, JSON
+Are supported: CSV, JSON, XML
= SYNOPSIS =
@@ -18,7 +18,7 @@ Are supported: CSV, JSON
= DESCRIPTION =
-**Pkgtxt2db** is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON.
+**Pkgtxt2db** is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON, XML.
= GENERAL OPTIONS =
@@ -35,6 +35,9 @@ Convert PACKAGES.TXT to a CSV database.
: **-j**, **--json**
Convert PACKAGES.TXT to a JSON database.
+: **-x**, **--xml**
+Convert PACKAGES.TXT to a XML database
+
: **-t**, **--target**
Choose between Slackware or Salix repositories.
@@ -55,12 +58,12 @@ Here are some usages examples.
: **pkgtxt2db -c -t slack32 -r current**
It will fetch and convert PACKAGES.TXT from the Slackware current i486
-repository to a CSV database (tab separated): //pkgtxt.csv//.
+repository to a CSV database (tab separated): //slack32-current.csv//.
You can open it with libreoffice ;)
: **pkgtxt2db -j -t salix64 -r 13.37**
It will fetch and convert PACKAGES.TXT from the Salix 13.37 x86-64
-repository to a JSON database: //pkgtxt.json//.
+repository to a JSON database: //salix64-13.37.json//.
= WEBSITE =
Frédéric Galusik