From 182638a6366fb00a15c063a296865934f3288fbb Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Wed, 3 May 2017 17:51:27 +0200 Subject: [PATCH 1/3] fixup Makefile default to /usr/local fix the syntax warnings, add the missing num prefixes --- .gitignore | 10 ++++++++++ Makefile | 12 ++++++------ num-utils.spec.in | 30 +++++++++++++++--------------- 3 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ed7219 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +numaverage.1.gz +numbound.1.gz +numgrep.1.gz +numinterval.1.gz +numnormalize.1.gz +numprocess.1.gz +numrandom.1.gz +numrange.1.gz +numround.1.gz +numsum.1.gz diff --git a/Makefile b/Makefile index 40cdafc..97183a6 100644 --- a/Makefile +++ b/Makefile @@ -22,20 +22,20 @@ VERSION = $(shell cat VERSION) PROJECT = num-utils DIST = $(PROJECT)-$(VERSION) FILES = $(shell cat MANIFEST) -UTILS = average bound interval normalize numgrep numprocess numsum random range round +UTILS = numaverage numbound numinterval numnormalize numgrep numprocess numsum \ + numrandom numrange numround DOCS = CHANGELOG COPYING LICENSE MANIFEST template README GOALS WARNING TESTS = file fractionalnums numbers numbers2 README zeros # rpm --showrc is gettin to be hard to parse anymore. #RPMDIR = /usr/src/redhat RPMDIR = $(shell rpm --showrc | grep " _topdir" | \ perl -n -e \ - '/_topdir(?:\s+|\s+:\s+)(\/.*|%{_usrsrc}.*$$)/; \ - $$dir = $$1; $$dir =~ s|%{_usrsrc}|/usr/src|; print "$$1\n";') + '/_topdir(?:\s+|\s+:\s+)(\/.*|%\{_usrsrc\}.*$$)/; \ + $$dir = $$1; $$dir =~ s|%\{_usrsrc\}|/usr/src|; print "$$1\n";') # Modify these as necessary PERL = /usr/bin/perl -BINDIR = /usr/bin -TOPDIR = $(ROOT)/usr +TOPDIR = $(ROOT)/usr/local MANDIR = $(TOPDIR)/share/man/man1 DOCDIR = $(TOPDIR)/share/doc/$(DIST) BINDIR = $(TOPDIR)/bin @@ -51,7 +51,7 @@ all: manpages cat $$file | sed 's|^#!/usr/bin/perl|#!$(PERL)|' > $$file.out ; \ mv $$file.out $$file ; chmod a+x $$file ; done -install: +install: all install -m 0755 -o 0 -g 0 -d $(BINDIR) for util in $(UTILS) ; do \ install -m 0755 -o 0 -g 0 $$util $(BINDIR) ; done diff --git a/num-utils.spec.in b/num-utils.spec.in index c5753dd..835432b 100644 --- a/num-utils.spec.in +++ b/num-utils.spec.in @@ -25,32 +25,32 @@ and aim to help complete the unix shell vocabulary. make %install -make ROOT="$RPM_BUILD_ROOT" rpminstall +make ROOT="$RPM_BUILD_ROOT" TOPDIR="$RPM_BUILD_ROOT/usr" rpminstall %files -%attr(0755 root root) /usr/bin/average -%attr(0755 root root) /usr/bin/bound -%attr(0755 root root) /usr/bin/interval -%attr(0755 root root) /usr/bin/normalize +%attr(0755 root root) /usr/bin/numaverage +%attr(0755 root root) /usr/bin/numbound +%attr(0755 root root) /usr/bin/numinterval +%attr(0755 root root) /usr/bin/numnormalize %attr(0755 root root) /usr/bin/numgrep %attr(0755 root root) /usr/bin/numprocess %attr(0755 root root) /usr/bin/numsum -%attr(0755 root root) /usr/bin/random -%attr(0755 root root) /usr/bin/range -%attr(0755 root root) /usr/bin/round +%attr(0755 root root) /usr/bin/numrandom +%attr(0755 root root) /usr/bin/numrange +%attr(0755 root root) /usr/bin/numround %doc %attr(- root root) CHANGELOG COPYING GOALS LICENSE README WARNING template #%attr(0755 root root) tests %doc %attr(- root root) tests/ -%{_mandir}/man1/average.1.gz -%{_mandir}/man1/bound.1.gz -%{_mandir}/man1/interval.1.gz -%{_mandir}/man1/normalize.1.gz +%{_mandir}/man1/numaverage.1.gza +%{_mandir}/man1/numbound.1.gz +%{_mandir}/man1/numinterval.1.gz +%{_mandir}/man1/numnormalize.1.gz %{_mandir}/man1/numgrep.1.gz %{_mandir}/man1/numprocess.1.gz %{_mandir}/man1/numsum.1.gz -%{_mandir}/man1/random.1.gz -%{_mandir}/man1/range.1.gz -%{_mandir}/man1/round.1.gz +%{_mandir}/man1/numrandom.1.gz +%{_mandir}/man1/numrange.1.gz +%{_mandir}/man1/numround.1.gz %changelog From 095befb54a02a68321de663495faeebc8528ea00 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Wed, 3 May 2017 18:15:02 +0200 Subject: [PATCH 2/3] fixup missing prefixes --- numaverage | 28 ++++++++++++++-------------- numbound | 28 ++++++++++++++-------------- numgrep | 4 ++-- numinterval | 18 +++++++++--------- numnormalize | 26 +++++++++++++------------- numprocess | 2 +- numrandom | 38 +++++++++++++++++++------------------- numrange | 37 +++++++++++++++++++------------------ numround | 30 +++++++++++++++--------------- numsum | 2 +- template | 27 ++++++++++++++------------- 11 files changed, 121 insertions(+), 119 deletions(-) diff --git a/numaverage b/numaverage index 719f0e4..5853f54 100755 --- a/numaverage +++ b/numaverage @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# average: Find the average of a set of numbers. +# numaverage: Find the average of a set of numbers. # # Copyright (C) 2002-2004 Suso Banderas @@ -100,12 +100,12 @@ print "$average\n"; sub help { print <<"EOF"; --------------------------------------------------------- -average : A program for finding the average of numbers. +numaverage : A program for finding the average of numbers. --------------------------------------------------------- Usage: - average [options] file - | average [options] - average [options] + numaverage [options] file + | numaverage [options] + numaverage [options] Options: -i Only return the integer portion of the final sum. @@ -198,20 +198,20 @@ sub find_median { =head1 NAME -average - Find the average of a set of numbers. +numaverage - Find the average of a set of numbers. =head1 SYNOPSIS -B [-dhiIlmMV] +B [-dhiIlmMV] -| B [-dhiIlmMV] (Input on STDIN from pipeline.) +| B [-dhiIlmMV] (Input on STDIN from pipeline.) -B [-dhiIlmMV] (Input on STDIN. Use Ctrl-D to stop.) +B [-dhiIlmMV] (Input on STDIN. Use Ctrl-D to stop.) =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. By default -B will determine the average from all numbers on input. Other +B is a program that is part of the numeric utilities package. By default +B will determine the average from all numbers on input. Other options allow you to find the mode and median. =head1 OPTIONS @@ -231,11 +231,11 @@ options allow you to find the mode and median. =head1 SEE ALSO -bound(1), interval(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1), round(1) +numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT -average is part of the num-utils package, which is copyrighted by +numaverage is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -244,7 +244,7 @@ submissions or help for the project. =head1 MORE INFO -More info on average can be found at: +More info on numaverage can be found at: =over 1 diff --git a/numbound b/numbound index 1438ddc..19e5092 100755 --- a/numbound +++ b/numbound @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# bound: Find boundary numbers in files or STDIN. +# numbound: Find boundary numbers in files or STDIN. # # Copyright (C) 2002-2004 Suso Banderas @@ -87,13 +87,13 @@ exit(0); sub help { print <<"EOF"; ------------------------------------------------------------------------------- -bound : Find boundary numbers in files or STDIN. By default, find the maximum. +numbound : Find boundary numbers in files or STDIN. By default, find the maximum. ------------------------------------------------------------------------------- Usage: - bound [options] - | bound [options] - bound [options] + numbound [options] + | numbound [options] + numbound [options] Options: -l -- Return the lower bound number in the set (the minimum number) @@ -148,19 +148,19 @@ sub find_lower_bound { =head1 NAME -bound - Find boundary numbers in files or STDIN. +numbound - Find boundary numbers in files or STDIN. =head1 SYNOPSIS -B [-dhlV] +B [-dhlV] -| B [-dhlV] (Input on STDIN from pipeline.) +| B [-dhlV] (Input on STDIN from pipeline.) -B [-dhlV] (Input on STDIN. Use Ctrl-D to stop.) +B [-dhlV] (Input on STDIN. Use Ctrl-D to stop.) =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will find boundary numbers (minimum and maximum) in files or STDIN. By default it will find the upper bound in the set of numbers (the maximum number) in the files or on STDIN. You can use the -l option for finding the lower bound (minimum @@ -176,16 +176,16 @@ number). =head1 BUGS -B currently will only gather the first number on each line instead of +B currently will only gather the first number on each line instead of all the numbers on the lines. =head1 SEE ALSO -average(1), interval(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1), round(1) +numaverage(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT -bound is part of the num-utils package, which is copyrighted by +numbound is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -194,7 +194,7 @@ submissions or help for the project. =head1 MORE INFO -More info on bound can be found at: +More info on numbound can be found at: =over 1 diff --git a/numgrep b/numgrep index 55b2f75..569cfc0 100755 --- a/numgrep +++ b/numgrep @@ -332,7 +332,7 @@ B /f1024/ Match any integer that is a factor of 1024. - $ range -N /1..1000/ | numgrep /f1024/ + $ numrange -N /1..1000/ | numgrep /f1024/ 1 2 4 @@ -359,7 +359,7 @@ future. =head1 SEE ALSO -average(1), bound(1), interval(1), normalize(1), numprocess(1), numsum(1), random(1), range(1), round(1) +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT diff --git a/numinterval b/numinterval index cad0710..77b8cb1 100755 --- a/numinterval +++ b/numinterval @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# interval: This program calculates and displays the intervals between the +# numinterval: This program calculates and displays the intervals between the # first line and the second, between the second line and the third on # through the end of the file. # @@ -89,7 +89,7 @@ exit(0); sub help { print <<"EOF"; ----------------------------------------------------------------------- -interval : Calculate the numeric intervals between lines in input. +numinterval : Calculate the numeric intervals between lines in input. ----------------------------------------------------------------------- Usage: @@ -124,19 +124,19 @@ sub process_filehandle { =head1 NAME -interval - Show the numeric intervals between each line in a file. +numinterval - Show the numeric intervals between each line in a file. =head1 SYNOPSIS -B [-dhV] +B [-dhV] -| B [-dhV] (Input on STDIN from pipeline.) +| B [-dhV] (Input on STDIN from pipeline.) -B [-dhV] (Input on STDIN. Use Ctrl-D to stop.) +B [-dhV] (Input on STDIN. Use Ctrl-D to stop.) =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will calculate and display the numeric interval between one number and the next on an input stream. @@ -155,11 +155,11 @@ in box office ticket sales for movies on imdb.com. ;-) =head1 SEE ALSO -average(1), bound(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1), round(1) +numaverage(1), numbound(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT -interval is part of the num-utils package, which is copyrighted by +numinterval is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package diff --git a/numnormalize b/numnormalize index 573d667..7a2d34c 100755 --- a/numnormalize +++ b/numnormalize @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# normalize: Normalize a set of numbers. By default between 0 and 1. +# numnormalize: Normalize a set of numbers. By default between 0 and 1. # # Copyright (C) 2002-2004 Suso Banderas @@ -84,13 +84,13 @@ exit(0); sub help { print <<"EOF"; ---------------------------------------------- -normalize : Normalize a set of numbers. +numnormalize : Normalize a set of numbers. ---------------------------------------------- Usage: - normalize [options] - | normalize [options] - normalize [options] + numnormalize [options] + | numnormalize [options] + numnormalize [options] Options: -d Debug. For developers only. @@ -143,19 +143,19 @@ sub normalize { =head1 NAME -normalize - Normalize a set of numbers. By default between 0 and 1. +numnormalize - Normalize a set of numbers. By default between 0 and 1. =head1 SYNOPSIS -B [-dhRV] +B [-dhRV] -| B [-dhRV] (Input on STDIN from pipeline.) +| B [-dhRV] (Input on STDIN from pipeline.) -B [-dhRV] (Input on STDIN. Use Ctrl-D to stop.) +B [-dhRV] (Input on STDIN. Use Ctrl-D to stop.) =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will take a set of numbers on input and return that set as a normalized set of numbers between 0 and 1 by default. Or you can use the -R option to specify a different normalized range. @@ -172,11 +172,11 @@ range. =head1 SEE ALSO -average(1), bound(1), interval(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1), round(1) +numaverage(1), numbound(1), numinterval(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT -normalize is part of the num-utils package, which is copyrighted by +numnormalize is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -185,7 +185,7 @@ submissions or help for the project. =head1 MORE INFO -More info on normalize can be found at: +More info on numnormalize can be found at: =over 1 diff --git a/numprocess b/numprocess index 5f5f6bf..7b0b53f 100755 --- a/numprocess +++ b/numprocess @@ -247,7 +247,7 @@ of the original number. =head1 SEE ALSO -average(1), bound(1), interval(1), normalize(1), numgrep(1), numsum(1), random(1), range(1), round(1) +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numsum(1), numrandom(1), numrange(1), numround(1) =head1 BUGS diff --git a/numrandom b/numrandom index 1b64679..687ed99 100755 --- a/numrandom +++ b/numrandom @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# random: Print out a random number. +# numrandom: Print out a random number. # # Copyright (C) 2002-2004 Suso Banderas @@ -120,11 +120,11 @@ exit(0); sub help { print <<"EOF"; ------------------------------------- -random : Print out a random number. +numrandom : Print out a random number. ------------------------------------- Usage: - random [options] /[expression]/ + numrandom [options] /[expression]/ Options: -d Debug. For developers only. @@ -162,19 +162,19 @@ sub process_filehandle { =head1 NAME -random - Print out a random number. +numrandom - Print out a random number. =head1 SYNOPSIS -B [-dhV] /[expression]/ +B [-dhV] /[expression]/ =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will print out a random number determined by the expression that you give. The -syntax and program is nearly identical to the B program, except that B +syntax and program is nearly identical to the B program, except that B picks a number at random from the range expression. If no expression is specified, -B will print out a random integer between 1 and 100. +B will print out a random integer between 1 and 100. =head1 OPTIONS @@ -185,47 +185,47 @@ B will print out a random integer between 1 and 100. =head1 EXAMPLES Random number from 1 to 10. - $ random /1..10/ + $ numrandom /1..10/ 7 From 1 to 10 or from 15 to 20. - $ random /1..10,15..20/ + $ numrandom /1..10,15..20/ 16 An even number from 0 to 10 - $ random /0..10i2/ + $ numrandom /0..10i2/ 4 An odd number. Notice the starting number in the range. - $ random /1..10i2/ + $ numrandom /1..10i2/ 9 A factor of 3 between 99 and 120. - $ random /99..120i3/ + $ numrandom /99..120i3/ 111 A decimal number. - $ random /1.1..2.5i0.1/ + $ numrandom /1.1..2.5i0.1/ 1.8 A negative random number. - $ random /0.0..-2.0i0.3/ + $ numrandom /0.0..-2.0i0.3/ -0.8 =head1 BUGS -B is slow when dealing with large ranges to randomly +B is slow when dealing with large ranges to randomly find a number from. This is because it creates a list of all potential numbers before picking one. So it can be memory intensive for large ranges. =head1 SEE ALSO -average(1), bound(1), interval(1), normalize(1), numgrep(1), numprocess(1), numsum(1), range(1), round(1) +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrange(1), numround(1) =head1 COPYRIGHT -random is part of the num-utils package, which is copyrighted by +numrandom is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -234,7 +234,7 @@ submissions or help for the project. =head1 MORE INFO -More info on random can be found at: +More info on numrandom can be found at: =over 1 diff --git a/numrange b/numrange index 707aa20..8b2594f 100755 --- a/numrange +++ b/numrange @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# range: Print out a range of numbers for use in for loops and such. +# numrange: Print out a range of numbers for use in for loops and such. # # Copyright (C) 2002-2004 Suso Banderas @@ -157,11 +157,11 @@ exit(0); sub help { print <<"EOF"; -------------------------------------------------------------------- -range : Print out a range of numbers for use in for loops and such. +numrange : Print out a range of numbers for use in for loops and such. -------------------------------------------------------------------- Usage: - range [options] // + numrange [options] // Options: -e Exclude the of numbers from the range output. @@ -196,15 +196,15 @@ EOF =head1 NAME -range - Print out a range of numbers for use in for loops and such. +numrange - Print out a range of numbers for use in for loops and such. =head1 SYNOPSIS -B [-dhV] // +B [-dhV] // =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will print out a list of numbers based on an expression that you specify. This is useful for making a list of numbers for use in for loops and so on. Ranges of numbers are specified using the .. operator, like this /20..50/, which means all @@ -227,41 +227,41 @@ and the 'i' increment operator. =head1 EXAMPLES All numbers from 1 to 10. - $ range /1..10/ + $ numrange /1..10/ 1 2 3 4 5 6 7 8 9 10 From 10 to 1. Counting down. - $ range /10..1/ + $ numrange /10..1/ 10 9 8 7 6 5 4 3 2 1 From 1 to 10 and from 15 to 20. - $ range /1..10,15..20/ + $ numrange /1..10,15..20/ 1 2 3 4 5 6 7 8 9 10 15 16 17 18 19 20 Even numbers from 0 to 10 - $ range /0..10i2/ + $ numrange /0..10i2/ 0 2 4 6 8 10 Odd numbers. Notice the starting number in the range expression. - $ range /1..10i2/ + $ numrange /1..10i2/ 1 3 5 7 9 Factors of 3 between 99 and 120. - $ range /99..120i3/ + $ numrange /99..120i3/ 99 102 105 108 111 114 117 120 Decimal numbers - $ range /1.1..2.5i0.1/ + $ numrange /1.1..2.5i0.1/ 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 And negative numbers too. - $ range /1.0..-2.0i0.3/ + $ numrange /1.0..-2.0i0.3/ 1 0.7 0.4 0.1 -0.2 -0.5 -0.8 -1.1 -1.4 -1.7 -2 You can also pad numbers when you are counting up. This is a trick of how the Perl programming language deals with ranges: - $ range /01..15/ + $ numrange /01..15/ 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 =head1 BUGS @@ -272,11 +272,12 @@ downwards. =head1 SEE ALSO -seq(1), average(1), bound(1), interval(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), round(1) +seq(1), +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numround(1) =head1 COPYRIGHT -range is part of the num-utils package, which is copyrighted by +numrange is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -285,7 +286,7 @@ submissions or help for the project. =head1 MORE INFO -More info on range can be found at: +More info on numrange can be found at: =over 1 diff --git a/numround b/numround index 23ef4b5..3bc07c0 100755 --- a/numround +++ b/numround @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# round: A program that rounds off numbers it encounters. +# numround: A program that rounds off numbers it encounters. # # Copyright (C) 2002-2004 Suso Banderas @@ -84,13 +84,13 @@ exit(0); sub help { print <<"EOF"; --------------------------------------------------------- -round : A program that rounds off numbers it encounters. +numround : A program that rounds off numbers it encounters. --------------------------------------------------------- Usage: - round [options] - | round [options] - round [options] + numround [options] + | numround [options] + numround [options] Options: -c Force the number to be rounded up. Ceiling. @@ -162,19 +162,19 @@ sub floor_number { =head1 NAME -round - A program that rounds off numbers it encounters. +numround - A program that rounds off numbers it encounters. =head1 SYNOPSIS -B [-cdfhV] +B [-cdfhV] -| B [-cdfhV] (Input on STDIN from pipeline.) +| B [-cdfhV] (Input on STDIN from pipeline.) -B [-cdfhV] (Input on STDIN. Use Ctrl-D to stop.) +B [-cdfhV] (Input on STDIN. Use Ctrl-D to stop.) =head1 DESCRIPTION -B is a program that is part of the numeric utilities package. B +B is a program that is part of the numeric utilities package. B will simply round decimal numbers to the nearest integer or to a factor of any number using the -n option. You can also force it to round up (ceiling) or round down(floor) using the -c and -f options. @@ -192,19 +192,19 @@ round down(floor) using the -c and -f options. =head1 BUGS -B currently only rounds the first number on each line. Eventually this +B currently only rounds the first number on each line. Eventually this will be changed as all the numeric utilities are developed. -B will drop off the decimal places in decimal numbers. This may cause +B will drop off the decimal places in decimal numbers. This may cause some calculations to be in error, depending on how you are using the data. =head1 SEE ALSO -average(1), bound(1), interval(1), normalize(1), numgrep(1), numprocess(1), numsum(1), random(1), range(1) +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1) =head1 COPYRIGHT -round is part of the num-utils package, which is copyrighted by +numround is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package @@ -213,7 +213,7 @@ submissions or help for the project. =head1 MORE INFO -More info on round can be found at: +More info on numround can be found at: =over 1 diff --git a/numsum b/numsum index 16f49c3..a744e39 100755 --- a/numsum +++ b/numsum @@ -360,7 +360,7 @@ Add up the 2nd and 4th rows. =head1 SEE ALSO -average(1), bound(1), interval(1), normalize(1), numgrep(1), numprocess(1), random(1), range(1), round(1) +numaverage(1), numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numrandom(1), numrange(1), numround(1) =head1 COPYRIGHT diff --git a/template b/template index 0aad25f..391b034 100644 --- a/template +++ b/template @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# template: This is the default template file used to create +# numtemplate: This is the default template file used to create # new files. # # Copyright (C) 2002-2004 Suso Banderas @@ -78,13 +78,13 @@ exit(0); sub help { print <<"EOF"; ---------------------------------------------- -template : +numtemplate : ---------------------------------------------- Usage: - template [options] - | template [options] - template [options] + numtemplate [options] + | numtemplate [options] + numtemplate [options] Options: -d Debug. For developers only. @@ -112,19 +112,19 @@ sub process_filehandle { =head1 NAME -template - template program file +numtemplate - template program file =head1 SYNOPSIS -B