01
2012-01-31
fredgnix
pkgtxt2db
02
2012-01-31
fredgnix
Frederic Galusik
03
2012-01-31
fredgnix
%%mtime(%m/%d/%Y)
05
2012-01-31
fredgnix
%!target: man
06
2012-01-31
fredgnix
%!encoding: utf-8
08
2012-01-31
fredgnix
= NAME =
10
2012-01-31
fredgnix
pkgtxt2db - A perl utility to convert the Slackware PACKAGES.TXT to a database.
12
2012-04-19
fredgnix
Are supported: CSV, JSON, XML
14
2012-01-31
fredgnix
= SYNOPSIS =
16
2012-01-31
fredgnix
**pkgtxt2db** [//OPTIONS//]
19
2012-01-31
fredgnix
= DESCRIPTION =
21
2012-04-19
fredgnix
**Pkgtxt2db** is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON, XML.
24
2012-01-31
fredgnix
= GENERAL OPTIONS =
26
2012-01-31
fredgnix
: **-h**, **--help**
27
2012-01-31
fredgnix
Simple help
29
2012-01-31
fredgnix
: **-v**, **--version**
30
2012-01-31
fredgnix
Print Pkgtxt2db version
32
2012-01-31
fredgnix
: **-c**, **--csv**
33
2012-01-31
fredgnix
Convert PACKAGES.TXT to a CSV database.
35
2012-01-31
fredgnix
: **-j**, **--json**
36
2012-01-31
fredgnix
Convert PACKAGES.TXT to a JSON database.
38
2012-04-19
fredgnix
: **-x**, **--xml**
39
2012-04-19
fredgnix
Convert PACKAGES.TXT to a XML database
41
2012-01-31
fredgnix
: **-t**, **--target**
42
2012-01-31
fredgnix
Choose between Slackware or Salix repositories.
44
2012-01-31
fredgnix
It can be:
45
2012-01-31
fredgnix
- slack32: slackware i486 repository
46
2012-01-31
fredgnix
- slack64: slackware x86_64 repository
47
2012-01-31
fredgnix
- salix32: salix i486 repository
48
2012-01-31
fredgnix
- salix64: salix x86_64 repository
50
2012-01-31
fredgnix
: **-r**, **--release**
51
2012-01-31
fredgnix
Choose the slackware or salix release.
53
2012-01-31
fredgnix
It can be: current (if exist), 13.37, ...
56
2012-01-31
fredgnix
= COMMAND LINE USAGE =
57
2012-01-31
fredgnix
Here are some usages examples.
59
2012-01-31
fredgnix
: **pkgtxt2db -c -t slack32 -r current**
60
2012-01-31
fredgnix
It will fetch and convert PACKAGES.TXT from the Slackware current i486
61
2012-04-19
fredgnix
repository to a CSV database (tab separated): //slack32-current.csv//.
62
2012-01-31
fredgnix
You can open it with libreoffice ;)
64
2012-01-31
fredgnix
: **pkgtxt2db -j -t salix64 -r 13.37**
65
2012-01-31
fredgnix
It will fetch and convert PACKAGES.TXT from the Salix 13.37 x86-64
66
2012-04-19
fredgnix
repository to a JSON database: //salix64-13.37.json//.
69
2012-01-31
fredgnix
= WEBSITE =
71
2012-01-31
fredgnix
http://www.salixos.org/wiki/index.php/Pkgtxt2db
74
2012-01-31
fredgnix
= AUTHOR =
76
2012-01-31
fredgnix
Pkgtxt2db was written by Frederic Galusik <fredg~at~salixos~dot~org>