r16792 - in /trunk/libdbd-xbase-perl: ./ bin/ debian/ debian/patches/ eg/ lib/ lib/XBase/

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Mar 7 23:59:53 UTC 2008


Author: gregoa-guest
Date: Fri Mar  7 23:59:52 2008
New Revision: 16792

URL: http://svn.debian.org/wsvn/?sc=1&rev=16792
Log:
Create two patches, one for the changes in Makefile.PL, the other for
  the changes due to the renaming of indexdump/dbfdump to
  index_dump/dbf_dump; add quilt framework.

Added:
    trunk/libdbd-xbase-perl/debian/patches/
    trunk/libdbd-xbase-perl/debian/patches/Makefile.PL.patch
    trunk/libdbd-xbase-perl/debian/patches/series
    trunk/libdbd-xbase-perl/debian/patches/underline-dump.patch
Modified:
    trunk/libdbd-xbase-perl/Makefile.PL
    trunk/libdbd-xbase-perl/README
    trunk/libdbd-xbase-perl/bin/dbfdump.PL
    trunk/libdbd-xbase-perl/bin/indexdump.PL
    trunk/libdbd-xbase-perl/debian/changelog
    trunk/libdbd-xbase-perl/debian/control
    trunk/libdbd-xbase-perl/debian/rules
    trunk/libdbd-xbase-perl/eg/use_index
    trunk/libdbd-xbase-perl/lib/XBase.pm
    trunk/libdbd-xbase-perl/lib/XBase/FAQ.pod
    trunk/libdbd-xbase-perl/lib/XBase/Index.pm
    trunk/libdbd-xbase-perl/new-XBase

Modified: trunk/libdbd-xbase-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/Makefile.PL?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/Makefile.PL (original)
+++ trunk/libdbd-xbase-perl/Makefile.PL Fri Mar  7 23:59:52 2008
@@ -46,6 +46,6 @@
 	'EXE_FILES'	=> [ 'bin/dbfdump', ' bin/indexdump' ],
         'dist'		=> { COMPRESS => 'gzip -9f', SUFFIX => 'gz',
 		POSTOP => 'mv $(DISTNAME)-$(VERSION).tar.gz ../' },
-	'clean'		=> { FILES => 'bin/dbfdump bin/indexdump t/newtable.dbf t/newtable.dbt t/write.dbf t/write.dbt t/rooms1.dbf t/rooms1.cdx t/rooms.sdbm1.dir t/rooms.sdbm1.pag t/rooms.sdbmd.dir t/rooms.sdbmd.pag t/tstidx.dbf t/tstidxid.idx t/tstidxname.idx t/write1.dbf t/write1.FPT'},	
+	'clean'		=> { FILES => 'bin/dbfdump bin/indexdump t/newtable.dbf t/newtable.dbt t/write.dbf t/write.dbt t/rooms1.dbf t/rooms1.cdx '},	
 	);
 

Modified: trunk/libdbd-xbase-perl/README
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/README?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/README (original)
+++ trunk/libdbd-xbase-perl/README Fri Mar  7 23:59:52 2008
@@ -48,7 +48,7 @@
 		my $table = new XBase 'table.dbf';
 		my @data = $table->get_record(0);
 
-	The distribution also includes a dbf_dump script that prints
+	The distribution also includes a dbfdump script that prints
 	the content of the table in readable form.
 
 
@@ -75,7 +75,7 @@
 	native XBase engines produce data incompatible with this
 	module.
 
-	Man pages for XBase, DBD::XBase, dbf_dump, XBase::Index and
+	Man pages for XBase, DBD::XBase, dbfdump, XBase::Index and
 	XBase::SDBM are included, examples of little scripts can also
 	be found in eg/ directory of the distribution. Read the DBI
 	man page for DBI specific issues, and the XBase::FAQ page.

Modified: trunk/libdbd-xbase-perl/bin/dbfdump.PL
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/bin/dbfdump.PL?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/bin/dbfdump.PL (original)
+++ trunk/libdbd-xbase-perl/bin/dbfdump.PL Fri Mar  7 23:59:52 2008
@@ -33,7 +33,7 @@
 	) or exit;
 
 if (defined $options{'version'}) {
-	print "This is dbf_dump version $XBase::VERSION.\n";
+	print "This is dbfdump version $XBase::VERSION.\n";
 	exit;
 }
 
@@ -44,7 +44,7 @@
 
 if (@ARGV == 0 or defined $options{'help'}) {
 	die <<'EOF';
-Usage: dbf_dump [ options ] files
+Usage: dbfdump [ options ] files
     where the options specify
 	--rs		output record separator (default newline)
 	--fs		output field separator (default colon)
@@ -129,11 +129,11 @@
 
 =head1 NAME
 
-dbf_dump - Dump the record of the dbf file
+dbfdump - Dump the record of the dbf file
 
 =head1 FORMAT
 
-	dbf_dump [options] files
+	dbfdump [options] files
 
 where options are
 
@@ -153,15 +153,15 @@
 
 =head1 SYNOPSIS
 
-	dbf_dump -fields id,msg table.dbf
-	dbf_dump -fs=' : ' table
-	dbf_dump --nomemo file.dbf
+	dbfdump -fields id,msg table.dbf
+	dbfdump -fs=' : ' table
+	dbfdump --nomemo file.dbf
 
-	ssh user at host 'cat file.dbf.gz' | gunzip - | dbf_dump -
+	ssh user at host 'cat file.dbf.gz' | gunzip - | dbfdump -
 
 =head1 DESCRIPTION
 
-Dbf_dump prints to standard output the content of dbf files listed. By
+Dbfdump prints to standard output the content of dbf files listed. By
 default, it prints all fields, separated by colons, one record on
 a line. The output record and column separators can be changed by
 switches on the command line. You can also ask only for some fields to
@@ -181,7 +181,7 @@
 
 =head1 SEE ALSO
 
-perl(1); XBase(3pm); index_dump(1p)
+perl(1); XBase(3)
 
 =cut
 

Modified: trunk/libdbd-xbase-perl/bin/indexdump.PL
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/bin/indexdump.PL?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/bin/indexdump.PL (original)
+++ trunk/libdbd-xbase-perl/bin/indexdump.PL Fri Mar  7 23:59:52 2008
@@ -71,15 +71,15 @@
 
 =head1 NAME
 
-index_dump - Show the content of the index file
+indexdump - Show the content of the index file
 
 =head1 FORMAT
 
-        index_dump [options] file [ tag ]
+        indexdump [options] file [ tag ]
 
 where options are
 
-        --debug		set debug level
+        --debug		output record separator (default newline)
         --type		specifies the num/date/char type of the index
         --start		defines the value to start dump from
         --n		prints also the total number of records
@@ -87,12 +87,12 @@
 
 =head1 SYNOPSIS
 
-        index_dump rooms.cdx FACILITY
-        index_dump --debug=14 --start=Dub rooms.cdx ROOMNAME
+        indexdump rooms.cdx FACILITY
+        indexdump --debug=14 --start=Dub rooms.cdx ROOMNAME
 
 =head1 DESCRIPTION
 
-Index_dump prints to standard output the content of the index file.
+Indexdump prints to standard output the content of the index file.
 The type of the index is one of those supported by the XBase::Index
 Perl module (cdx, idx, ntx, ndx, mdx).
 
@@ -110,7 +110,7 @@
 
 =head1 SEE ALSO
 
-perl(1); XBase::Index(3pm); dbf_dump(1p)
+perl(1); XBase::Index(3)
 
 =cut
 

Modified: trunk/libdbd-xbase-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/changelog?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/changelog (original)
+++ trunk/libdbd-xbase-perl/debian/changelog Fri Mar  7 23:59:52 2008
@@ -10,8 +10,11 @@
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * debian/copyright: update years of copyright.
+  * Create two patches, one for the changes in Makefile.PL, the other for
+    the changes due to the renaming of indexdump/dbfdump to
+    index_dump/dbf_dump; add quilt framework.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 08 Mar 2008 00:37:37 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 08 Mar 2008 00:57:56 +0100
 
 libdbd-xbase-perl (1:0.241-4) unstable; urgency=low
 

Modified: trunk/libdbd-xbase-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/control?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/control (original)
+++ trunk/libdbd-xbase-perl/debian/control Fri Mar  7 23:59:52 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Carlo Segre <segre at debian.org>
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt
 Build-Depends-Indep: perl, libdbi-perl
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/DBD-XBase/

Added: trunk/libdbd-xbase-perl/debian/patches/Makefile.PL.patch
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/patches/Makefile.PL.patch?rev=16792&op=file
==============================================================================
--- trunk/libdbd-xbase-perl/debian/patches/Makefile.PL.patch (added)
+++ trunk/libdbd-xbase-perl/debian/patches/Makefile.PL.patch Fri Mar  7 23:59:52 2008
@@ -1,0 +1,10 @@
+--- libdbd-xbase-perl-0.241.orig/Makefile.PL
++++ libdbd-xbase-perl-0.241/Makefile.PL
+@@ -46,6 +46,6 @@
+ 	'EXE_FILES'	=> [ 'bin/dbfdump', ' bin/indexdump' ],
+         'dist'		=> { COMPRESS => 'gzip -9f', SUFFIX => 'gz',
+ 		POSTOP => 'mv $(DISTNAME)-$(VERSION).tar.gz ../' },
+-	'clean'		=> { FILES => 'bin/dbfdump bin/indexdump t/newtable.dbf t/newtable.dbt t/write.dbf t/write.dbt t/rooms1.dbf t/rooms1.cdx '},	
++	'clean'		=> { FILES => 'bin/dbfdump bin/indexdump t/newtable.dbf t/newtable.dbt t/write.dbf t/write.dbt t/rooms1.dbf t/rooms1.cdx t/rooms.sdbm1.dir t/rooms.sdbm1.pag t/rooms.sdbmd.dir t/rooms.sdbmd.pag t/tstidx.dbf t/tstidxid.idx t/tstidxname.idx t/write1.dbf t/write1.FPT'},	
+ 	);
+ 

Added: trunk/libdbd-xbase-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/patches/series?rev=16792&op=file
==============================================================================
--- trunk/libdbd-xbase-perl/debian/patches/series (added)
+++ trunk/libdbd-xbase-perl/debian/patches/series Fri Mar  7 23:59:52 2008
@@ -1,0 +1,2 @@
+Makefile.PL.patch
+underline-dump.patch

Added: trunk/libdbd-xbase-perl/debian/patches/underline-dump.patch
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/patches/underline-dump.patch?rev=16792&op=file
==============================================================================
--- trunk/libdbd-xbase-perl/debian/patches/underline-dump.patch (added)
+++ trunk/libdbd-xbase-perl/debian/patches/underline-dump.patch Fri Mar  7 23:59:52 2008
@@ -1,0 +1,256 @@
+--- libdbd-xbase-perl.orig/README
++++ libdbd-xbase-perl/README
+@@ -48,7 +48,7 @@
+ 		my $table = new XBase 'table.dbf';
+ 		my @data = $table->get_record(0);
+ 
+-	The distribution also includes a dbfdump script that prints
++	The distribution also includes a dbf_dump script that prints
+ 	the content of the table in readable form.
+ 
+ 
+@@ -75,7 +75,7 @@
+ 	native XBase engines produce data incompatible with this
+ 	module.
+ 
+-	Man pages for XBase, DBD::XBase, dbfdump, XBase::Index and
++	Man pages for XBase, DBD::XBase, dbf_dump, XBase::Index and
+ 	XBase::SDBM are included, examples of little scripts can also
+ 	be found in eg/ directory of the distribution. Read the DBI
+ 	man page for DBI specific issues, and the XBase::FAQ page.
+--- libdbd-xbase-perl.orig/bin/dbfdump.PL
++++ libdbd-xbase-perl/bin/dbfdump.PL
+@@ -33,7 +33,7 @@
+ 	) or exit;
+ 
+ if (defined $options{'version'}) {
+-	print "This is dbfdump version $XBase::VERSION.\n";
++	print "This is dbf_dump version $XBase::VERSION.\n";
+ 	exit;
+ }
+ 
+@@ -44,7 +44,7 @@
+ 
+ if (@ARGV == 0 or defined $options{'help'}) {
+ 	die <<'EOF';
+-Usage: dbfdump [ options ] files
++Usage: dbf_dump [ options ] files
+     where the options specify
+ 	--rs		output record separator (default newline)
+ 	--fs		output field separator (default colon)
+@@ -129,11 +129,11 @@
+ 
+ =head1 NAME
+ 
+-dbfdump - Dump the record of the dbf file
++dbf_dump - Dump the record of the dbf file
+ 
+ =head1 FORMAT
+ 
+-	dbfdump [options] files
++	dbf_dump [options] files
+ 
+ where options are
+ 
+@@ -153,15 +153,15 @@
+ 
+ =head1 SYNOPSIS
+ 
+-	dbfdump -fields id,msg table.dbf
+-	dbfdump -fs=' : ' table
+-	dbfdump --nomemo file.dbf
++	dbf_dump -fields id,msg table.dbf
++	dbf_dump -fs=' : ' table
++	dbf_dump --nomemo file.dbf
+ 
+-	ssh user at host 'cat file.dbf.gz' | gunzip - | dbfdump -
++	ssh user at host 'cat file.dbf.gz' | gunzip - | dbf_dump -
+ 
+ =head1 DESCRIPTION
+ 
+-Dbfdump prints to standard output the content of dbf files listed. By
++Dbf_dump prints to standard output the content of dbf files listed. By
+ default, it prints all fields, separated by colons, one record on
+ a line. The output record and column separators can be changed by
+ switches on the command line. You can also ask only for some fields to
+@@ -181,7 +181,7 @@
+ 
+ =head1 SEE ALSO
+ 
+-perl(1); XBase(3)
++perl(1); XBase(3pm); index_dump(1p)
+ 
+ =cut
+ 
+--- libdbd-xbase-perl.orig/bin/indexdump.PL
++++ libdbd-xbase-perl/bin/indexdump.PL
+@@ -71,15 +71,15 @@
+ 
+ =head1 NAME
+ 
+-indexdump - Show the content of the index file
++index_dump - Show the content of the index file
+ 
+ =head1 FORMAT
+ 
+-        indexdump [options] file [ tag ]
++        index_dump [options] file [ tag ]
+ 
+ where options are
+ 
+-        --debug		output record separator (default newline)
++        --debug		set debug level
+         --type		specifies the num/date/char type of the index
+         --start		defines the value to start dump from
+         --n		prints also the total number of records
+@@ -87,12 +87,12 @@
+ 
+ =head1 SYNOPSIS
+ 
+-        indexdump rooms.cdx FACILITY
+-        indexdump --debug=14 --start=Dub rooms.cdx ROOMNAME
++        index_dump rooms.cdx FACILITY
++        index_dump --debug=14 --start=Dub rooms.cdx ROOMNAME
+ 
+ =head1 DESCRIPTION
+ 
+-Indexdump prints to standard output the content of the index file.
++Index_dump prints to standard output the content of the index file.
+ The type of the index is one of those supported by the XBase::Index
+ Perl module (cdx, idx, ntx, ndx, mdx).
+ 
+@@ -110,7 +110,7 @@
+ 
+ =head1 SEE ALSO
+ 
+-perl(1); XBase::Index(3)
++perl(1); XBase::Index(3pm); dbf_dump(1p)
+ 
+ =cut
+ 
+--- libdbd-xbase-perl.orig/eg/use_index
++++ libdbd-xbase-perl/eg/use_index
+@@ -77,7 +77,7 @@
+ 	my $cur = $table->prepare_select_with_index(
+ 		[ "cust.cdx", 'addr' ], 'field1', 'field2');
+ 
+-There is a script indexdump that does the dump for you.
++There is a script index_dump that does the dump for you.
+ 
+ If you have an compound index, with an expression instead of just
+ plain field name, chances are that XBase.pm won't be able to recognize
+--- libdbd-xbase-perl.orig/lib/XBase.pm
++++ libdbd-xbase-perl/lib/XBase.pm
+@@ -1341,7 +1341,7 @@
+     $table->dump_records("fs" => " | ", "rs" => " <-+\n",
+ 			"fields" => [ "id", "msg" ]);'
+ 
+-Also note that there is a script dbfdump(1) that does the printing.
++Also note that there is a script dbf_dump(1) that does the printing.
+ 
+ =head2 Errors and debugging
+ 
+@@ -1423,7 +1423,7 @@
+ =head1 SEE ALSO
+ 
+ perl(1); XBase::FAQ(3); DBD::XBase(3) and DBI(3) for DBI interface;
+-dbfdump(1)
++dbf_dump(1)
+ 
+ =cut
+ 
+--- libdbd-xbase-perl.orig/lib/XBase/FAQ.pod
++++ libdbd-xbase-perl/lib/XBase/FAQ.pod
+@@ -175,11 +175,11 @@
+ 
+ to your script and you will see that it's not B<DBD::XBase> problem.
+ 
+-=item The B<XBase.pm/dbfdump> stops after reading I<n> records ...
++=item The B<XBase.pm/dbf_dump> stops after reading I<n> records ...
+ 
+ ... why doesn't it read all I<10 x n> records?
+ 
+-Check if the file isn't truncated. C<dbfdump -i file.dbf> will tell
++Check if the file isn't truncated. C<dbf_dump -i file.dbf> will tell
+ you the expected number of records and length of one record, like
+ 
+ 	Filename:       file.dbf
+@@ -191,7 +191,7 @@
+ 	Num fields:     40
+ 
+ So the expected length of the file is at least I<1313 + 65 * 1117>. If
+-it's shorter, you've got damaged file and B<XBase.pm/dbfdump> only
++it's shorter, you've got damaged file and B<XBase.pm/dbf_dump> only
+ reads as much rows as it can find in the dbf.
+ 
+ =item How is this B<DBD::XBase> related to B<DBD::ODBC>?
+--- libdbd-xbase-perl.orig/lib/XBase/Index.pm
++++ libdbd-xbase-perl/lib/XBase/Index.pm
+@@ -1647,17 +1647,18 @@
+ 
+ =head2 Testing your index file (and XBase::Index)
+ 
+-You can test your index using the indexdump script in the main
+-directory of the DBD::XBase distribution (I mean test XBase::Index
+-on correct index data, not testing corrupted index file, of course ;-)
++You can test your index using the index_dump script (I mean test
++XBase::Index on correct index data, not testing corrupted index file,
++of course ;-)
++
+ Just run
+ 
+-	./indexdump ~/path/index.ndx
+-	./indexdump ~/path/index.cdx tag_name
++	index_dump ~/path/index.ndx
++	index_dump ~/path/index.cdx tag_name
+ 
+ or
+ 
+-	perl -Ilib ./indexdump ~/path/index.cdx tag_name
++	perl -Ilib `which index_dump` ~/path/index.cdx tag_name
+ 
+ if you haven't installed this version of XBase.pm/DBD::XBase yet. You
+ should get the content of the index file. On each row, there is
+@@ -1674,18 +1675,18 @@
+ 
+ The index formats usually distinguish between numeric and character
+ data. Some of the file formats include the information about the type
+-in the index file, other depend on the dbf file. Since with indexdump
++in the index file, other depend on the dbf file. Since with index_dump
+ we only look at the index file, you may need to specify the -type
+-option to indexdump if it complains that it doesn't know the data
++option to index_dump if it complains that it doesn't know the data
+ type of the values (this is the case with cdx at least). The possible
+ values are num, char and date and the call would be like
+ 
+-	./indexdump -type=num ~/path/index.cdx tag_name
++	index_dump -type=num ~/path/index.cdx tag_name
+ 
+ (this -type option may not work with all index formats at the moment
+ -- will be fixed and patches always welcome).
+ 
+-You can use C<-ddebug> option to indexdump to see how pages are
++You can use C<-ddebug> option to index_dump to see how pages are
+ fetched and decoded, or run debugger to see the calls and parsing.
+ 
+ =head2 Using the index files to speed up searches in dbf
+--- libdbd-xbase-perl.orig/new-XBase
++++ libdbd-xbase-perl/new-XBase
+@@ -395,7 +395,7 @@
+     $table->dump_records("fs" => " | ", "rs" => " <-+\n",
+ 			"fields" => [ "id", "msg" ]);'
+ 
+-Also note that there is a command line script dbfdump(1) that does
++Also note that there is a command line script dbf_dump(1) that does
+ the printing.
+ 
+ =head1 Writing the data
+@@ -597,7 +597,7 @@
+ 
+ XBase::FAQ(3); XBase::Index(3);
+ DBD::XBase(3) and DBI(3) for DBI interface;
+-dbfdump(1); perl(1)
++dbf_dump(1); perl(1)
+ 
+ =cut
+ 

Modified: trunk/libdbd-xbase-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/debian/rules?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/rules (original)
+++ trunk/libdbd-xbase-perl/debian/rules Fri Mar  7 23:59:52 2008
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -20,7 +22,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -30,7 +32,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 

Modified: trunk/libdbd-xbase-perl/eg/use_index
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/eg/use_index?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/eg/use_index (original)
+++ trunk/libdbd-xbase-perl/eg/use_index Fri Mar  7 23:59:52 2008
@@ -77,7 +77,7 @@
 	my $cur = $table->prepare_select_with_index(
 		[ "cust.cdx", 'addr' ], 'field1', 'field2');
 
-There is a script index_dump that does the dump for you.
+There is a script indexdump that does the dump for you.
 
 If you have an compound index, with an expression instead of just
 plain field name, chances are that XBase.pm won't be able to recognize

Modified: trunk/libdbd-xbase-perl/lib/XBase.pm
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/lib/XBase.pm?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/lib/XBase.pm (original)
+++ trunk/libdbd-xbase-perl/lib/XBase.pm Fri Mar  7 23:59:52 2008
@@ -1341,7 +1341,7 @@
     $table->dump_records("fs" => " | ", "rs" => " <-+\n",
 			"fields" => [ "id", "msg" ]);'
 
-Also note that there is a script dbf_dump(1) that does the printing.
+Also note that there is a script dbfdump(1) that does the printing.
 
 =head2 Errors and debugging
 
@@ -1423,7 +1423,7 @@
 =head1 SEE ALSO
 
 perl(1); XBase::FAQ(3); DBD::XBase(3) and DBI(3) for DBI interface;
-dbf_dump(1)
+dbfdump(1)
 
 =cut
 

Modified: trunk/libdbd-xbase-perl/lib/XBase/FAQ.pod
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/lib/XBase/FAQ.pod?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/lib/XBase/FAQ.pod (original)
+++ trunk/libdbd-xbase-perl/lib/XBase/FAQ.pod Fri Mar  7 23:59:52 2008
@@ -175,11 +175,11 @@
 
 to your script and you will see that it's not B<DBD::XBase> problem.
 
-=item The B<XBase.pm/dbf_dump> stops after reading I<n> records ...
+=item The B<XBase.pm/dbfdump> stops after reading I<n> records ...
 
 ... why doesn't it read all I<10 x n> records?
 
-Check if the file isn't truncated. C<dbf_dump -i file.dbf> will tell
+Check if the file isn't truncated. C<dbfdump -i file.dbf> will tell
 you the expected number of records and length of one record, like
 
 	Filename:       file.dbf
@@ -191,7 +191,7 @@
 	Num fields:     40
 
 So the expected length of the file is at least I<1313 + 65 * 1117>. If
-it's shorter, you've got damaged file and B<XBase.pm/dbf_dump> only
+it's shorter, you've got damaged file and B<XBase.pm/dbfdump> only
 reads as much rows as it can find in the dbf.
 
 =item How is this B<DBD::XBase> related to B<DBD::ODBC>?

Modified: trunk/libdbd-xbase-perl/lib/XBase/Index.pm
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/lib/XBase/Index.pm?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/lib/XBase/Index.pm (original)
+++ trunk/libdbd-xbase-perl/lib/XBase/Index.pm Fri Mar  7 23:59:52 2008
@@ -1647,18 +1647,17 @@
 
 =head2 Testing your index file (and XBase::Index)
 
-You can test your index using the index_dump script (I mean test
-XBase::Index on correct index data, not testing corrupted index file, 
-of course ;-)
-
+You can test your index using the indexdump script in the main
+directory of the DBD::XBase distribution (I mean test XBase::Index
+on correct index data, not testing corrupted index file, of course ;-)
 Just run
 
-	index_dump ~/path/index.ndx
-	index_dump ~/path/index.cdx tag_name
+	./indexdump ~/path/index.ndx
+	./indexdump ~/path/index.cdx tag_name
 
 or
 
-	perl -Ilib `which index_dump` ~/path/index.cdx tag_name
+	perl -Ilib ./indexdump ~/path/index.cdx tag_name
 
 if you haven't installed this version of XBase.pm/DBD::XBase yet. You
 should get the content of the index file. On each row, there is
@@ -1675,18 +1674,18 @@
 
 The index formats usually distinguish between numeric and character
 data. Some of the file formats include the information about the type
-in the index file, other depend on the dbf file. Since with index_dump
+in the index file, other depend on the dbf file. Since with indexdump
 we only look at the index file, you may need to specify the -type
-option to index_dump if it complains that it doesn't know the data
+option to indexdump if it complains that it doesn't know the data
 type of the values (this is the case with cdx at least). The possible
 values are num, char and date and the call would be like
 
-	index_dump -type=num ~/path/index.cdx tag_name
+	./indexdump -type=num ~/path/index.cdx tag_name
 
 (this -type option may not work with all index formats at the moment
 -- will be fixed and patches always welcome).
 
-You can use C<-ddebug> option to index_dump to see how pages are
+You can use C<-ddebug> option to indexdump to see how pages are
 fetched and decoded, or run debugger to see the calls and parsing.
 
 =head2 Using the index files to speed up searches in dbf

Modified: trunk/libdbd-xbase-perl/new-XBase
URL: http://svn.debian.org/wsvn/trunk/libdbd-xbase-perl/new-XBase?rev=16792&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/new-XBase (original)
+++ trunk/libdbd-xbase-perl/new-XBase Fri Mar  7 23:59:52 2008
@@ -395,7 +395,7 @@
     $table->dump_records("fs" => " | ", "rs" => " <-+\n",
 			"fields" => [ "id", "msg" ]);'
 
-Also note that there is a command line script dbf_dump(1) that does
+Also note that there is a command line script dbfdump(1) that does
 the printing.
 
 =head1 Writing the data
@@ -597,7 +597,7 @@
 
 XBase::FAQ(3); XBase::Index(3);
 DBD::XBase(3) and DBI(3) for DBI interface;
-dbf_dump(1); perl(1)
+dbfdump(1); perl(1)
 
 =cut
 




More information about the Pkg-perl-cvs-commits mailing list