--- txt2regex-0.8.orig/debian/changelog +++ txt2regex-0.8/debian/changelog @@ -0,0 +1,122 @@ +txt2regex (0.8-5) unstable; urgency=medium + + * bump dh compat to 9; dh_clean -k -> dh_prep + * update watch for github (closes: #529150) and add Homepage: + + -- Rene Engelhard Thu, 07 Jul 2016 11:39:54 +0200 + +txt2regex (0.8-4) unstable; urgency=low + + * fix 02_add_fr_FR.po.dpatch and 03_add_ca.po.dpatch to apply + correctly (closes: #608209) + * fix lintian stuff + - s/Build-Depends-Indep/Build-Depends/ + - update menu for "new" menu sections + - add ${misc:Depends} + - recode copyright to UTF-8 + + -- Rene Engelhard Tue, 28 Dec 2010 22:41:29 +0100 + +txt2regex (0.8-3) unstable; urgency=low + + * fix for bash 3.1, thanks Mike O'Connor (closes: #346226) + + -- Rene Engelhard Mon, 23 Jan 2006 23:17:55 +0100 + +txt2regex (0.8-2) unstable; urgency=low + + * upload non-native, oops + + -- Rene Engelhard Tue, 18 Jan 2005 01:29:16 +0100 + +txt2regex (0.8-1) unstable; urgency=low + + * New upstream release. (closes: #273965) + * add fr_FR and ca pos from upstream site + + -- Rene Engelhard Mon, 17 Jan 2005 16:27:56 +0100 + +txt2regex (0.7-10) unstable; urgency=high + + * remove strace output file which accidentially went into the + diff *sigh* + + -- Rene Engelhard Thu, 5 Aug 2004 01:55:48 +0200 + +txt2regex (0.7-9) unstable; urgency=low + + * fix $BASH_VERSION check to accept bash 3.x (closes: #262762) + + -- Rene Engelhard Tue, 3 Aug 2004 15:20:15 +0200 + +txt2regex (0.7-8) unstable; urgency=low + + * add es_ES.po and ro_RO.po from upstream + * Standards-Version: 3.6.1 (no changes needed) + * quote stuff in menu file + * fix clean + + -- Rene Engelhard Sat, 3 Jul 2004 17:05:43 +0200 + +txt2regex (0.7-7) unstable; urgency=low + + * add it_IT.po from upstream + + -- Rene Engelhard Wed, 3 Mar 2004 04:53:28 +0100 + +txt2regex (0.7-6) unstable; urgency=low + + * s/Author\(s\)/Author/ in debian/copyright + + -- Rene Engelhard Thu, 24 Apr 2003 00:40:45 +0200 + +txt2regex (0.7-5) unstable; urgency=low + + * fix manpage (closes: #190304) + * move to dpatch, existing change splut out into 01_makefile_fixes, + new: 02_fix_manpage + * debhelper compat v4; Standards-Version: 3.5.9 + + -- Rene Engelhard Wed, 23 Apr 2003 16:55:56 +0200 + +txt2regex (0.7-4) unstable; urgency=low + + * new maintainer (closes: #158520) + + -- Rene Engelhard Wed, 28 Aug 2002 16:35:48 +0200 + +txt2regex (0.7-3) unstable; urgency=low + + * Fixed typo + + -- Martin Butterweck Sat, 13 Apr 2002 04:37:55 +0200 + +txt2regex (0.7-2) unstable; urgency=low + + * Fixed locale files + closes: #138494 + + -- Martin Butterweck Wed, 3 Apr 2002 13:23:34 +0200 + +txt2regex (0.7-1) unstable; urgency=low + + * New upstream release + closes: #128519 #129397 + * Changed build-deps + closes: #134939 + + -- Martin Butterweck Wed, 6 Mar 2002 14:15:25 +0100 + +txt2regex (0.6-2) unstable; urgency=low + + * Changed TEXTDOMAINDIR to point to correct location + * Added undocumented(7) manpage link + + -- Martin Butterweck Sat, 26 Jan 2002 15:41:24 +0100 + +txt2regex (0.6-1) unstable; urgency=low + + * Initial Release. + closes: #128427 + -- Martin Butterweck Wed, 9 Jan 2002 13:58:19 +0100 + --- txt2regex-0.8.orig/debian/compat +++ txt2regex-0.8/debian/compat @@ -0,0 +1 @@ +9 --- txt2regex-0.8.orig/debian/control +++ txt2regex-0.8/debian/control @@ -0,0 +1,17 @@ +Source: txt2regex +Section: utils +Priority: optional +Maintainer: Rene Engelhard +Build-Depends: debhelper (>> 9), gettext, dpatch +Standards-Version: 3.6.1 +Homepage: https://github.com/aureliojargas/txt2regex + +Package: txt2regex +Architecture: all +Depends: bash (>> 2.04), ${misc:Depends} +Description: A Regular Expression "wizard", all written with bash2 builtins + ^txt2regex$ is a Regular Expression "wizard", all written with bash2 + builtins, that converts human sentences to RegExs. With a simple + interface, you just answer to questions and build your own RegEx for a + large variety of programs, like awk, emacs, grep, perl, php, procmail, + python, sed and vim. There are more than 20 supported programs. --- txt2regex-0.8.orig/debian/copyright +++ txt2regex-0.8/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Martin Butterweck on +Wed, 9 Jan 2002 13:58:19 +0100. + +It was downloaded from http://txt2regex.sourceforge.net/ + +Upstream Author: aurélio marinho jargas + +Copyright: + +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; either version 2, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- txt2regex-0.8.orig/debian/docs +++ txt2regex-0.8/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- txt2regex-0.8.orig/debian/menu +++ txt2regex-0.8/debian/menu @@ -0,0 +1,2 @@ +?package(txt2regex):needs="text" section="Applications/Text" \ + title="txt2regex" command="/usr/bin/txt2regex" --- txt2regex-0.8.orig/debian/patches/00list +++ txt2regex-0.8/debian/patches/00list @@ -0,0 +1,4 @@ +01_fix_makefile +02_add_fr_FR.po +03_add_ca.po +04_bash_3_1 --- txt2regex-0.8.orig/debian/patches/01_fix_makefile.dpatch +++ txt2regex-0.8/debian/patches/01_fix_makefile.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 01_fix_makefile.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix install target in Makefile + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/rene/Debian/Pakete/txt2regex/txt2regex-0.7/Makefile txt2regex-0.7/Makefile +--- /home/rene/Debian/Pakete/txt2regex/txt2regex-0.7/Makefile 2003-04-23 18:29:40.000000000 +0200 ++++ txt2regex-0.7/Makefile 2003-04-23 18:42:16.000000000 +0200 +@@ -94,7 +94,7 @@ + [ -d $$modir ] || mkdir -p $$modir; \ + install -m644 $(PODIR)/$$pot $$modir/$(NAME).mo; \ + done; \ +- sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(LOCALEDIR),' \ ++ sed -e '/^TEXTDOMAINDIR=/s,=.*,=/usr/share/locale,' \ + -e '/^VERSION=/s/=.*/=$(VERSION)/' $(SHSKEL) > $(BINDIR)/$(NAME) && \ + chmod +x $(BINDIR)/$(NAME) && \ + echo "program '$(NAME)' installed. just run $(BINDIR)/$(NAME)" --- txt2regex-0.8.orig/debian/patches/02_add_fr_FR.po.dpatch +++ txt2regex-0.8/debian/patches/02_add_fr_FR.po.dpatch @@ -0,0 +1,358 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_add_fr_FR.po.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad txt2regex-0.8/po/fr_FR.po /tmp/dpep.GH6Pdp/txt2regex-0.8/po/fr_FR.po +--- txt2regex-0.8/po/fr_FR.po 1970-01-01 01:00:00.000000000 +0100 ++++ txt2regex-0.8/po/fr_FR.po 2004-09-29 21:21:24.000000000 +0200 +@@ -0,0 +1,347 @@ ++msgid "" ++msgstr "" ++"Project-Id-Version: txt2regex 0.9\n" ++"POT-Creation-Date: 2004-09-29 10:54 BRT\n" ++"PO-Revision-Date: 2004-09-29 20:57+0200\n" ++"Last-Translator: wwp \n" ++"Language-Team: French team\n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-1\n" ++"Content-Transfer-Encoding: 8bit\n" ++"X-Generator: KBabel 1.3.1\n" ++ ++#: ../txt2regex-0.9.sh:100 ++msgid "usage: txt2regex [ --nocolor | --whitebg ] [ --all | --prog PROGRAMS ]" ++msgstr "usage : txt2regex [ --nocolor | --whitebg ] [ --all | --prog PROGRAMMES ]" ++ ++#: ../txt2regex-0.9.sh:101 ++msgid " txt2regex --showmeta" ++msgstr " txt2regex --showmeta" ++ ++#: ../txt2regex-0.9.sh:102 ++msgid " txt2regex --showinfo PROGRAM [ --nocolor ]" ++msgstr " txt2regex --showinfo PROGRAMME [ --nocolor ]" ++ ++#: ../txt2regex-0.9.sh:103 ++msgid " txt2regex --history VALUE [ --all | --prog PROGRAMS ]" ++msgstr " txt2regex --history VALEUR [ --all | --prog PROGRAMMES ]" ++ ++#: ../txt2regex-0.9.sh:104 ++msgid " txt2regex --make LABEL [ --all | --prog PROGRAMS ]" ++msgstr " txt2regex --make NOM [ --all | --prog PROGRAMMES ]" ++ ++#: ../txt2regex-0.9.sh:106 ++msgid "OPTIONS (they are default OFF):" ++msgstr "OPTIONS (toutes sont désactivées par défault) :" ++ ++#: ../txt2regex-0.9.sh:108 ++msgid " --all Works with all registered programs" ++msgstr " --all Utiliser tous les programmes supportés" ++ ++#: ../txt2regex-0.9.sh:109 ++msgid " --nocolor Don't use colors" ++msgstr " --nocolor Ne pas utiliser de couleur" ++ ++#: ../txt2regex-0.9.sh:110 ++msgid " --whitebg Colors adjusted for white background terminals" ++msgstr " --whitebg Ajuster les couleurs pour les terminaux à fond clair" ++ ++#: ../txt2regex-0.9.sh:111 ++msgid " --prog PROGRAMS Choose which programs to use, separated by commas" ++msgstr "" ++" --prog PROGRAMMES Programmes à utiliser (liste de programmes séparés par\n" ++" une virgule)" ++ ++#: ../txt2regex-0.9.sh:113 ++msgid " --showmeta Prints a metacharacters table with all programs" ++msgstr "" ++" --showmeta Afficher la table des métacaractères pour chaque\n" ++" programme" ++ ++#: ../txt2regex-0.9.sh:114 ++msgid " --showinfo PROGRAM Prints regex info about the specified program" ++msgstr " --showinfo PROGRAMME Afficher des informations relatives à ce programme" ++ ++#: ../txt2regex-0.9.sh:115 ++msgid " --history VALUE Prints a regex from the given history data" ++msgstr " --history VALEUR Afficher sur STDOUT une regex déjà utilisée auparavant" ++ ++#: ../txt2regex-0.9.sh:116 ++msgid " --make LABEL Prints the default regex for the specified label" ++msgstr " --make NOM Afficher la regex correspondant à cette présélection" ++ ++#: ../txt2regex-0.9.sh:118 ++msgid " --version Prints the program version and quit" ++msgstr " --version Afficher le nom et la version du logiciel puis quitter" ++ ++#: ../txt2regex-0.9.sh:119 ++msgid " --help Prints the help message and quit" ++msgstr " --help Afficher l'aide puis quitter" ++ ++#: ../txt2regex-0.9.sh:121 ++msgid "Please read the program Man Page for more information." ++msgstr "Pour plus d'information, consultez la page de manuel du programme." ++ ++#: ../txt2regex-0.9.sh:180 ++msgid "invalid argument" ++msgstr "argument invalide" ++ ++#: ../txt2regex-0.9.sh:181 ++msgid "valid names are:" ++msgstr "noms possibles :" ++ ++# #duplicated##: ../txt2regex-0.7.sh:188 ++#: ../txt2regex-0.9.sh:201 ++msgid "invalid option" ++msgstr "option invalide" ++ ++#: ../txt2regex-0.9.sh:212 ++msgid "start to match" ++msgstr "début de séquence à trouver" ++ ++#: ../txt2regex-0.9.sh:213 ++msgid "on the line beginning" ++msgstr "en début de ligne" ++ ++#: ../txt2regex-0.9.sh:214 ++msgid "in any part of the line" ++msgstr "n'importe où dans la ligne" ++ ++#: ../txt2regex-0.9.sh:218 ++msgid "followed by" ++msgstr "suivi par" ++ ++#: ../txt2regex-0.9.sh:219 ++msgid "any character" ++msgstr "n'importe quel caractère" ++ ++#: ../txt2regex-0.9.sh:220 ++msgid "a specific character" ++msgstr "un caractère en particulier" ++ ++#: ../txt2regex-0.9.sh:221 ++msgid "a literal string" ++msgstr "une chaîne de caractères" ++ ++#: ../txt2regex-0.9.sh:222 ++msgid "an allowed characters list" ++msgstr "une liste de caractères autorisés" ++ ++#: ../txt2regex-0.9.sh:223 ++msgid "a forbidden characters list" ++msgstr "une liste de caractères interdits" ++ ++#: ../txt2regex-0.9.sh:224 ++msgid "a special combination" ++msgstr "une combinaison spéciale" ++ ++#: ../txt2regex-0.9.sh:225 ++msgid "a POSIX combination (locale aware)" ++msgstr "une combinaison POSIX (sujette à localisation)" ++ ++#: ../txt2regex-0.9.sh:226 ++msgid "a ready regex (not implemented)" ++msgstr "une regex prédéfinie (non implémenté)" ++ ++#: ../txt2regex-0.9.sh:227 ++msgid "anything" ++msgstr "n'importe quoi" ++ ++#: ../txt2regex-0.9.sh:231 ++msgid "how many times (repetition)" ++msgstr "nombre de fois (répétition)" ++ ++#: ../txt2regex-0.9.sh:232 ++msgid "one" ++msgstr "une exactement" ++ ++#: ../txt2regex-0.9.sh:233 ++msgid "zero or one (optional)" ++msgstr "zéro ou une (optionnel)" ++ ++#: ../txt2regex-0.9.sh:234 ++msgid "zero or more" ++msgstr "zéro ou plus" ++ ++#: ../txt2regex-0.9.sh:235 ++msgid "one or more" ++msgstr "une ou plus" ++ ++#: ../txt2regex-0.9.sh:236 ++msgid "exactly N" ++msgstr "exactement N" ++ ++#: ../txt2regex-0.9.sh:237 ++msgid "up to N" ++msgstr "jusqu'à N occurrences" ++ ++#: ../txt2regex-0.9.sh:238 ++msgid "at least N" ++msgstr "au moins N occurrences" ++ ++#: ../txt2regex-0.9.sh:242 ++msgid "uppercase letters" ++msgstr "lettres majuscules" ++ ++#: ../txt2regex-0.9.sh:243 ++msgid "lowercase letters" ++msgstr "lettres minuscules" ++ ++#: ../txt2regex-0.9.sh:244 ++msgid "numbers" ++msgstr "nombres" ++ ++#: ../txt2regex-0.9.sh:245 ++msgid "underscore" ++msgstr "underscore" ++ ++#: ../txt2regex-0.9.sh:246 ++msgid "space" ++msgstr "espace" ++ ++#: ../txt2regex-0.9.sh:247 ++msgid "TAB" ++msgstr "TAB" ++ ++#: ../txt2regex-0.9.sh:252 ++msgid "letters" ++msgstr "lettres" ++ ++# #duplicated##: ../txt2regex-0.7.sh:249 ++# #duplicated##: ../txt2regex-0.7.sh:250 ++# #duplicated##: ../txt2regex-0.7.sh:251 ++#: ../txt2regex-0.9.sh:256 ++msgid "letters and numbers" ++msgstr "lettres et nombres" ++ ++#: ../txt2regex-0.9.sh:257 ++msgid "hexadecimal numbers" ++msgstr "nombres hexadécimaux" ++ ++#: ../txt2regex-0.9.sh:258 ++msgid "whitespaces (space and TAB)" ++msgstr "blancs (espace et TAB)" ++ ++#: ../txt2regex-0.9.sh:259 ++msgid "graphic chars (not-whitespace)" ++msgstr "caractères graphiques (autres que blancs)" ++ ++#: ../txt2regex-0.9.sh:264 ++msgid "quit" ++msgstr "quitter" ++ ++#: ../txt2regex-0.9.sh:265 ++msgid "reset" ++msgstr "remise à zéro" ++ ++#: ../txt2regex-0.9.sh:266 ++msgid "color" ++msgstr "couleur" ++ ++#: ../txt2regex-0.9.sh:267 ++msgid "programs" ++msgstr "programmes" ++ ++#: ../txt2regex-0.9.sh:273 ++msgid "or" ++msgstr "ou" ++ ++#: ../txt2regex-0.9.sh:274 ++msgid "open group" ++msgstr "ouvrir groupe" ++ ++#: ../txt2regex-0.9.sh:275 ++msgid "close group" ++msgstr "fermer groupe" ++ ++#: ../txt2regex-0.9.sh:276 ++msgid "not supported" ++msgstr "non supporté" ++ ++#: ../txt2regex-0.9.sh:401 ++msgid "NOTE: . [] [^] and * are the same on all programs." ++msgstr "NOTE : [] [^] et * sont identiques pour tous les programmes" ++ ++#: ../txt2regex-0.9.sh:405 ++msgid "NO" ++msgstr "NON" ++ ++# #duplicated##: ../txt2regex-0.7.sh:399 ++#: ../txt2regex-0.9.sh:414 ++msgid "unknown program" ++msgstr "programme inconnu" ++ ++#: ../txt2regex-0.9.sh:415 ++msgid "YES" ++msgstr "OUI" ++ ++# #duplicated##: ../txt2regex-0.7.sh:410 ++#: ../txt2regex-0.9.sh:423 ++msgid "program" ++msgstr "programme" ++ ++#: ../txt2regex-0.9.sh:423 ++msgid "metas" ++msgstr "métas" ++ ++#: ../txt2regex-0.9.sh:423 ++msgid "esc meta" ++msgstr "esc méta" ++ ++#: ../txt2regex-0.9.sh:423 ++msgid "need esc" ++msgstr "esc nécessaire" ++ ++#: ../txt2regex-0.9.sh:423 ++msgid "\\t in []" ++msgstr "\\t dans []" ++ ++#: ../txt2regex-0.9.sh:423 ++msgid "[:POSIX:]" ++msgstr "[:POSIX:]" ++ ++#: ../txt2regex-0.9.sh:455 ++msgid "" ++"error:\n" ++" your screen has %s lines and should have at least %s to this\n" ++" program fit on it. increase the number of lines or select\n" ++" less programs to show the regex.\\n\\n" ++msgstr "" ++"erreur : \n" ++" la hauteur de l'écran est de %s lignes alors que ce programme\n" ++" requiert au moins %s lignes pour fonctionner correctement.\n" ++" augmentez la hauteur de l'écran ou sélectionnez moins de\n" ++"programmes à afficher dans regex.\\n\\n" ++ ++#: ../txt2regex-0.9.sh:572 ++msgid "which one?" ++msgstr "lequel ?" ++ ++#: ../txt2regex-0.9.sh:584 ++msgid "which?" ++msgstr "lequel en particulier ?" ++ ++#: ../txt2regex-0.9.sh:760 ++msgid "exit" ++msgstr "quitter" ++ ++#: ../txt2regex-0.9.sh:761 ++msgid "press the letters to (un)select the items" ++msgstr "tapez les lettres pour (dé-)sélectionner les éléments" ++ ++#: ../txt2regex-0.9.sh:875 ++msgid "repeated" ++msgstr "répété" ++ ++#: ../txt2regex-0.9.sh:876 ++msgid "times" ++msgstr "fois" ++ ++#: ../txt2regex-0.9.sh:883 ++msgid "Really quit?" ++msgstr "Quitter - êtes-vous sûr ?" ++ ++#: ../txt2regex-0.9.sh:896 ++msgid "no regex" ++msgstr "pas de regex" ++ --- txt2regex-0.8.orig/debian/patches/03_add_ca.po.dpatch +++ txt2regex-0.8/debian/patches/03_add_ca.po.dpatch @@ -0,0 +1,353 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_add_ca_CA.po.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad txt2regex-0.8/po/ca.po /tmp/dpep.iwtAuJ/txt2regex-0.8/po/ca.po +--- txt2regex-0.8/po/ca.po 1970-01-01 01:00:00.000000000 +0100 ++++ txt2regex-0.8/po/ca.po 2004-11-17 16:06:34.000000000 +0100 +@@ -0,0 +1,342 @@ ++msgid "" ++msgstr "" ++"Project-Id-Version: txt2regex 0.9\n" ++"POT-Creation-Date: 2004-09-29 16:21 BRT\n" ++"PO-Revision-Date: 2004-11-16 10:52+0100\n" ++"Last-Translator: ChAOS ChAoS@gmail.com\n" ++"Language-Team: Catalan team\n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-1\n" ++"Content-Transfer-Encoding: 8bit\n" ++"X-Generator: KBabel 1.9.1\n" ++ ++#: ../txt2regex-0.9.sh:101 ++msgid "usage: txt2regex [ --nocolor | --whitebg ] [ --all | --prog PROGRAMS ]" ++msgstr "ús: txt2regex [ --nocolor | --whitebg ] [ --all | --prog PROGRAMES ]" ++ ++#: ../txt2regex-0.9.sh:102 ++msgid " txt2regex --showmeta" ++msgstr " txt2regex --showmeta" ++ ++#: ../txt2regex-0.9.sh:103 ++msgid " txt2regex --showinfo PROGRAM [ --nocolor ]" ++msgstr " txt2regex --showinfo PROGRAMA [ --nocolor ]" ++ ++#: ../txt2regex-0.9.sh:104 ++msgid " txt2regex --history VALUE [ --all | --prog PROGRAMS ]" ++msgstr " txt2regex --history VALOR [ --all | --prog PROGRAMES ]" ++ ++#: ../txt2regex-0.9.sh:105 ++msgid " txt2regex --make LABEL [ --all | --prog PROGRAMS ]" ++msgstr " txt2regex --make ETIQUETA [ --all | --prog PROGRAMES ]" ++ ++#: ../txt2regex-0.9.sh:107 ++msgid "OPTIONS (they are default OFF):" ++msgstr "OPCIONS (per defecte estan en OFF):" ++ ++#: ../txt2regex-0.9.sh:109 ++msgid " --all Works with all registered programs" ++msgstr " --all Funciona amb tots els programes registrats" ++ ++#: ../txt2regex-0.9.sh:110 ++msgid " --nocolor Don't use colors" ++msgstr " --nocolor No fa servir colors" ++ ++#: ../txt2regex-0.9.sh:111 ++msgid " --whitebg Colors adjusted for white background terminals" ++msgstr " --whitebg Colors ajustats per a terminals amb fons blanc" ++ ++#: ../txt2regex-0.9.sh:112 ++msgid " --prog PROGRAMS Choose which programs to use, separated by commas" ++msgstr " --prog PROGRAMES Tria quins programes vols fer servir, separats per comes" ++ ++#: ../txt2regex-0.9.sh:114 ++msgid " --showmeta Prints a metacharacters table with all programs" ++msgstr " --showmeta Imprimeix una taula de metacaràcters amb tots els programes" ++ ++#: ../txt2regex-0.9.sh:115 ++msgid " --showinfo PROGRAM Prints regex info about the specified program" ++msgstr " --showinfo PROGRAMA Imprimeix la informació regex sobre el programa especificat" ++ ++#: ../txt2regex-0.9.sh:116 ++msgid " --history VALUE Prints a regex from the given history data" ++msgstr " --history VALOR Imprimeix el regex de l'arxiu d'historial donat" ++ ++#: ../txt2regex-0.9.sh:117 ++msgid " --make LABEL Prints the default regex for the specified label" ++msgstr " --make ETIQUETA Imprimeix el regex per defecte per l'etiqueta especificada" ++ ++#: ../txt2regex-0.9.sh:119 ++msgid " --version Prints the program version and quit" ++msgstr " --version Imprimeix la versió del programa i surt" ++ ++#: ../txt2regex-0.9.sh:120 ++msgid " --help Prints the help message and quit" ++msgstr " --help Imprimeix el missatge d'ajuda i surt" ++ ++#: ../txt2regex-0.9.sh:122 ++msgid "Please read the program Man Page for more information." ++msgstr "Per a més informació, llegeixi la pàgina Man del programa" ++ ++#: ../txt2regex-0.9.sh:181 ++msgid "invalid argument" ++msgstr "Argument invàl·lid" ++ ++#: ../txt2regex-0.9.sh:182 ++msgid "valid names are:" ++msgstr "els noms vàl·lids són:" ++ ++##duplicated##: ../txt2regex-0.9.sh:192 ++#: ../txt2regex-0.9.sh:202 ++msgid "invalid option" ++msgstr "opció invàl·lida" ++ ++#: ../txt2regex-0.9.sh:213 ++msgid "start to match" ++msgstr "començar a casar" ++ ++#: ../txt2regex-0.9.sh:214 ++msgid "on the line beginning" ++msgstr "a principi de línia" ++ ++#: ../txt2regex-0.9.sh:215 ++msgid "in any part of the line" ++msgstr "a qualsevol part de la línia" ++ ++#: ../txt2regex-0.9.sh:219 ++msgid "followed by" ++msgstr "seguit de" ++ ++#: ../txt2regex-0.9.sh:220 ++msgid "any character" ++msgstr "qualsevol caràcter" ++ ++#: ../txt2regex-0.9.sh:221 ++msgid "a specific character" ++msgstr "un caracter específic" ++ ++#: ../txt2regex-0.9.sh:222 ++msgid "a literal string" ++msgstr "una cadena literal" ++ ++#: ../txt2regex-0.9.sh:223 ++msgid "an allowed characters list" ++msgstr "una llista de caràcters permesos" ++ ++#: ../txt2regex-0.9.sh:224 ++msgid "a forbidden characters list" ++msgstr "una llista de caràcters prohibits" ++ ++#: ../txt2regex-0.9.sh:225 ++msgid "a special combination" ++msgstr "una combinació especial" ++ ++#: ../txt2regex-0.9.sh:226 ++msgid "a POSIX combination (locale aware)" ++msgstr "una combinació POSIX (subjecte a localització)" ++ ++#: ../txt2regex-0.9.sh:227 ++msgid "a ready regex (not implemented)" ++msgstr "una regex preparada (sense implementar)" ++ ++#: ../txt2regex-0.9.sh:228 ++msgid "anything" ++msgstr "qualsevol cosa" ++ ++#: ../txt2regex-0.9.sh:232 ++msgid "how many times (repetition)" ++msgstr "quantes vegades (repetició)" ++ ++#: ../txt2regex-0.9.sh:233 ++msgid "one" ++msgstr "una" ++ ++#: ../txt2regex-0.9.sh:234 ++msgid "zero or one (optional)" ++msgstr "una o cap (opcional)" ++ ++#: ../txt2regex-0.9.sh:235 ++msgid "zero or more" ++msgstr "cap o més" ++ ++#: ../txt2regex-0.9.sh:236 ++msgid "one or more" ++msgstr "una o més" ++ ++#: ../txt2regex-0.9.sh:237 ++msgid "exactly N" ++msgstr "exactament N" ++ ++#: ../txt2regex-0.9.sh:238 ++msgid "up to N" ++msgstr "fins a N" ++ ++#: ../txt2regex-0.9.sh:239 ++msgid "at least N" ++msgstr "almenys N" ++ ++#: ../txt2regex-0.9.sh:243 ++msgid "uppercase letters" ++msgstr "lletres majúscules" ++ ++#: ../txt2regex-0.9.sh:244 ++msgid "lowercase letters" ++msgstr "lletres minúscules" ++ ++#: ../txt2regex-0.9.sh:245 ++msgid "numbers" ++msgstr "nombres" ++ ++#: ../txt2regex-0.9.sh:246 ++msgid "underscore" ++msgstr "barra baixa" ++ ++#: ../txt2regex-0.9.sh:247 ++msgid "space" ++msgstr "espai" ++ ++#: ../txt2regex-0.9.sh:248 ++msgid "TAB" ++msgstr "Tabulador (TAB)" ++ ++#: ../txt2regex-0.9.sh:253 ++msgid "letters" ++msgstr "lletres" ++ ++##duplicated##: ../txt2regex-0.9.sh:254 ++##duplicated##: ../txt2regex-0.9.sh:255 ++##duplicated##: ../txt2regex-0.9.sh:256 ++#: ../txt2regex-0.9.sh:257 ++msgid "letters and numbers" ++msgstr "lletres i nombres" ++ ++#: ../txt2regex-0.9.sh:258 ++msgid "hexadecimal numbers" ++msgstr "nombres hexadecimals" ++ ++#: ../txt2regex-0.9.sh:259 ++msgid "whitespaces (space and TAB)" ++msgstr "espais en blanc (espais i tabuladors)" ++ ++#: ../txt2regex-0.9.sh:260 ++msgid "graphic chars (not-whitespace)" ++msgstr "caràcters gràfics (no espais en blanc)" ++ ++#: ../txt2regex-0.9.sh:265 ++msgid "quit" ++msgstr "sortir" ++ ++#: ../txt2regex-0.9.sh:266 ++msgid "reset" ++msgstr "reiniciar" ++ ++#: ../txt2regex-0.9.sh:267 ++msgid "color" ++msgstr "color" ++ ++#: ../txt2regex-0.9.sh:268 ++msgid "programs" ++msgstr "programes" ++ ++#: ../txt2regex-0.9.sh:274 ++msgid "or" ++msgstr "o" ++ ++#: ../txt2regex-0.9.sh:275 ++msgid "open group" ++msgstr "obrir grup" ++ ++#: ../txt2regex-0.9.sh:276 ++msgid "close group" ++msgstr "tancar grup" ++ ++#: ../txt2regex-0.9.sh:277 ++msgid "not supported" ++msgstr "sense suport" ++ ++#: ../txt2regex-0.9.sh:402 ++msgid "NOTE: . [] [^] and * are the same on all programs." ++msgstr "NOTA: . [] [^] i * són el mateix en tots els programes." ++ ++#: ../txt2regex-0.9.sh:406 ++msgid "NO" ++msgstr "NO" ++ ++##duplicated##: ../txt2regex-0.9.sh:406 ++#: ../txt2regex-0.9.sh:415 ++msgid "unknown program" ++msgstr "programa desconegut" ++ ++#: ../txt2regex-0.9.sh:416 ++msgid "YES" ++msgstr "SÍ" ++ ++##duplicated##: ../txt2regex-0.9.sh:417 ++#: ../txt2regex-0.9.sh:424 ++msgid "program" ++msgstr "programa" ++ ++#: ../txt2regex-0.9.sh:424 ++msgid "metas" ++msgstr "metes" ++ ++#: ../txt2regex-0.9.sh:424 ++msgid "esc meta" ++msgstr "esc meta" ++ ++#: ../txt2regex-0.9.sh:424 ++msgid "need esc" ++msgstr "esc necessari" ++ ++#: ../txt2regex-0.9.sh:424 ++msgid "\\t en []" ++msgstr "\\t a []" ++ ++#: ../txt2regex-0.9.sh:424 ++msgid "[:POSIX:]" ++msgstr "[:POSIX:]" ++ ++#: ../txt2regex-0.9.sh:456 ++msgid "" ++"error:\n" ++" your screen has %s lines and should have at least %s to this\n" ++" program fit on it. increase the number of lines or select\n" ++" less programs to show the regex.\\n\\n" ++msgstr "" ++"error:\n" ++" la seva pantalla té %s línies i n'hauria de tenir almenys %s per\n" ++" poder-hi encabir aquest programa. amplïi'n el nombre o seleccioni\n" ++" menys programes a mostrar les regex.\\n\\n" ++ ++#: ../txt2regex-0.9.sh:573 ++msgid "which one?" ++msgstr "quin?" ++ ++#: ../txt2regex-0.9.sh:585 ++msgid "which?" ++msgstr "quin?" ++ ++#: ../txt2regex-0.9.sh:761 ++msgid "exit" ++msgstr "sortir" ++ ++#: ../txt2regex-0.9.sh:762 ++msgid "press the letters to (un)select the items" ++msgstr "pressioni les lletres per (des)seleccionar " ++ ++#: ../txt2regex-0.9.sh:876 ++msgid "repeated" ++msgstr "repetit" ++ ++#: ../txt2regex-0.9.sh:877 ++msgid "times" ++msgstr "vegades" ++ ++#: ../txt2regex-0.9.sh:884 ++msgid "Really quit?" ++msgstr "Realment vols sortir?" ++ ++#: ../txt2regex-0.9.sh:897 ++msgid "no regex" ++msgstr "sense regex" ++ --- txt2regex-0.8.orig/debian/patches/04_bash_3_1.dpatch +++ txt2regex-0.8/debian/patches/04_bash_3_1.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_bash_3_1.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad txt2regex-0.8~/txt2regex-0.8.sh txt2regex-0.8/txt2regex-0.8.sh +--- txt2regex-0.8~/txt2regex-0.8.sh 2004-09-28 21:51:01.000000000 +0200 ++++ txt2regex-0.8/txt2regex-0.8.sh 2006-01-23 23:23:53.000000000 +0100 +@@ -517,7 +517,7 @@ + + doMenu(){ + local -a Menui +- eval Menui=(\"\${$1[@]}\"); menu_n=$((${#Menui[*]}-1)) # ini ++ eval Menui=\(\"\${$1[@]}\"\); menu_n=$((${#Menui[*]}-1)) # ini + + if [ "$f_i" == 1 ]; then + gotoxy $x_hist $y_hist --- txt2regex-0.8.orig/debian/rules +++ txt2regex-0.8/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +configure: configure-stamp +configure-stamp: patch-stamp + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + rm -f po/*.mo + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/txt2regex + + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installchangelogs Changelog + dh_installman txt2regex.man + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- txt2regex-0.8.orig/debian/watch +++ txt2regex-0.8/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/txt2regex-$1\.tar\.gz/ \ + https://github.com/aureliojargas/txt2regex/tags .*/v?(\d\S*)\.tar\.gz