Commit Diff
Diff:
e54b8cc7f41440878f852f81a8f38adc797f76d7
adc6369fd57ad5a6280fc63fd3a82589e8de65e8
Commit:
adc6369fd57ad5a6280fc63fd3a82589e8de65e8
Tree:
c8206f029dbe930d8768fa07d807aadb13627e60
Author:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Committer:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Date:
Tue Jan 31 08:51:17 2012 UTC
Message:
txt2tags man page
blob - /dev/null
blob + a02d8d15b7446531bef9f788f55871496ea686e3 (mode 644)
--- /dev/null
+++ pkgtxt2db.t2t
@@ -0,0 +1,75 @@
+pkgtxt2db
+Frederic Galusik
+%%mtime(%m/%d/%Y)
+
+%!target: man
+%!encoding: utf-8
+
+= NAME =
+
+pkgtxt2db - A perl utility to convert the Slackware PACKAGES.TXT to a database.
+
+Are supported: CSV, JSON
+
+= SYNOPSIS =
+
+**pkgtxt2db** [//OPTIONS//]
+
+
+= DESCRIPTION =
+
+**Pkgtxt2db** is a tool for automoatically convert PACKAGES.TXT from this plain text format to a database one like CSV, JSON.
+
+
+= GENERAL OPTIONS =
+
+: **-h**, **--help**
+Simple help
+
+: **-v**, **--version**
+Print Pkgtxt2db version
+
+: **-c**, **--csv**
+Convert PACKAGES.TXT to a CSV database.
+
+: **-j**, **--json**
+Convert PACKAGES.TXT to a JSON database.
+
+: **-t**, **--target**
+Choose between Slackware or Salix repositories.
+
+It can be:
+- slack32: slackware i486 repository
+- slack64: slackware x86_64 repository
+- salix32: salix i486 repository
+- salix64: salix x86_64 repository
+
+: **-r**, **--release**
+Choose the slackware or salix release.
+
+It can be: current (if exist), 13.37, ...
+
+
+= COMMAND LINE USAGE =
+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//.
+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//.
+
+
+= WEBSITE =
+
+http://www.salixos.org/wiki/index.php/Pkgtxt2db
+
+
+= AUTHOR =
+
+Pkgtxt2db was written by Frederic Galusik <fredg~at~salixos~dot~org>
+
+
Frédéric Galusik