Array-PrintCols-2.6/000755 000765 000024 00000000000 12304436513 014274 5ustar00aksstaff000000 000000 Array-PrintCols-2.6/.gitignore000644 000765 000024 00000000302 12304430053 016250 0ustar00aksstaff000000 000000 blib/ .build/ _build/ cover_db/ inc/ Build !Build/ Build.bat .last_cover_stats Makefile Makefile.old MANIFEST.bak META.yml MYMETA.yml MYMETA.json nytprof.out pm_to_blib *.bak *.save *.old *.tmp Array-PrintCols-2.6/Build.PL000644 000765 000024 00000003030 12304430236 015560 0ustar00aksstaff000000 000000 #!/usr/bin/env perl # Build.PL for Array::PrintCols.pm # # Copyright (C) 1996-2013 Alan K. Stebbens # # 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 3 of the License, 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, see . use Module::Build; my $build = Module::Build->new ( module_name => 'Array::PrintCols', license => 'gpl', dist_author => ['Alan K. Stebbens '], dist_version_from => 'PrintCols.pm', dist_abstract => < [ 'tests' ], create_makefile_pl => 'traditional', PL_Files => {}, configure_requires => { 'Module::Build' => '>= 0.40' }, requires => { 'Carp' => 0, }, meta_merge => { resources => { repository => 'https://github.com/aks/array-printcols' } }, ); $build->create_build_script; Array-PrintCols-2.6/Copyright000644 000765 000024 00000001336 12304436341 016171 0ustar00aksstaff000000 000000 # # Copyright (C) 1996-2014 Alan K. Stebbens # # 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 3 of the License, 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, see . Array-PrintCols-2.6/GNU-LICENSE000644 000765 000024 00000103605 12304430053 015726 0ustar00aksstaff000000 000000 GNU General Public License, version 3 (GPL-3.0) GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. “This License” refers to version 3 of the GNU General Public License. “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. “The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. “Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. “Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found. Copyright (C) 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 3 of the License, 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . Array-PrintCols-2.6/lib/000755 000765 000024 00000000000 12304436512 015041 5ustar00aksstaff000000 000000 Array-PrintCols-2.6/Makefile.PL000644 000765 000024 00000000566 12304430053 016246 0ustar00aksstaff000000 000000 # Note: this file was auto-generated by Module::Build::Compat version 0.4005 use ExtUtils::MakeMaker; WriteMakefile ( 'PL_FILES' => {}, 'VERSION_FROM' => 'PrintCols.pm', 'INSTALLDIRS' => 'site', 'PREREQ_PM' => { 'File::ShareDir' => '1.00', 'Carp' => 0 }, 'NAME' => 'Array::PrintCols', 'EXE_FILES' => [] ) ; Array-PrintCols-2.6/MANIFEST000644 000765 000024 00000001237 12304430053 015421 0ustar00aksstaff000000 000000 .gitignore Build.PL Copyright GNU-LICENSE lib/Array/PrintCols.pm Makefile.PL MANIFEST This list of files MANIFEST.SKIP META.json META.yml PrintCols.pm README test.out.ref tests/1.ref tests/10.ref tests/11.ref tests/12.ref tests/13.ref tests/14.ref tests/15.ref tests/16.ref tests/17.ref tests/18.ref tests/19.ref tests/2.ref tests/20.ref tests/21.ref tests/22.ref tests/23.ref tests/24.ref tests/25.ref tests/26.ref tests/27.ref tests/28.ref tests/29.ref tests/3.ref tests/30.ref tests/31.ref tests/32.ref tests/33.ref tests/34.ref tests/35.ref tests/36.ref tests/37.ref tests/38.ref tests/39.ref tests/4.ref tests/5.ref tests/6.ref tests/7.ref tests/8.ref tests/9.ref Array-PrintCols-2.6/MANIFEST.SKIP000644 000765 000024 00000000243 12304430053 016162 0ustar00aksstaff000000 000000 ^Array::PrintCols-\d+\.\d+/ t\.pl$ ^\.git/ ^_build/ ^blib/ ^pm_to_blib$ .*\.(tmp|out|old|bak|save)$ ^MYMETA\.(yml|json)$ ^Build$ ^Makefile$ .*\.tar\.gz$ .*\.shar$ Array-PrintCols-2.6/META.json000644 000765 000024 00000001542 12304436513 015717 0ustar00aksstaff000000 000000 { "abstract" : "unknown", "author" : [ "unknown" ], "dynamic_config" : 1, "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.131560", "license" : [ "unknown" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : "2" }, "name" : "Array-PrintCols", "no_index" : { "directory" : [ "t", "inc" ] }, "prereqs" : { "build" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "runtime" : { "requires" : { "Carp" : "0", "File::ShareDir" : "1.00" } } }, "release_status" : "stable", "version" : "2.6" } Array-PrintCols-2.6/META.yml000644 000765 000024 00000000714 12304436513 015547 0ustar00aksstaff000000 000000 --- abstract: unknown author: - unknown build_requires: ExtUtils::MakeMaker: 0 configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.131560' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 name: Array-PrintCols no_index: directory: - t - inc requires: Carp: 0 File::ShareDir: 1.00 version: 2.6 Array-PrintCols-2.6/PrintCols.pm000644 000765 000024 00000015771 12304432772 016565 0ustar00aksstaff000000 000000 # Array::PrintCols.pm # # Copyright (C) 1996-2014 Alan K. Stebbens # # 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 3 of the License, 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, see . # # Author: Alan K. Stebbens # package Array::PrintCols; $VERSION = '2.6'; require 5.001; use Exporter; @ISA = (Exporter); @EXPORT = qw( print_cols format_cols ); use Carp; sub min(@); sub max(@); $PreSorted = 1; # if set, do not need to sort # If users need to, they can set this variable externally: # # $Array::PrintCols::PreSorted = 0; # # # format_cols \@array [, $col_width [, $total_width [, $indent ] ] ] # # or # # format_cols \@array [, -$columns [, $total_width, [, $indent ] ] ] # # or # # format_cols \%hash [, -$columns [, $total_width, [, $indent ] ] ] # # # This used to be "print_cols", which always sent everything to STDOUT. # Now, the work is done in "format_cols", which returns a string result. # Thanks to Gisle Aas for the suggestion) # # Routine to format an array of values in alphabetically vertically # sorted columns. sub format_cols($;@) { my($array) = shift; $array = $$array if ref($array) eq 'REF'; $array = [sort(keys(%$array))] if ref($array) eq 'HASH'; ref($array) eq 'ARRAY' or croak "arg 1 must be an ARRAY, HASH, or ARRAYREF\n"; my($col_width) = shift || 0; my($total_width) = shift || $ENV{'COLUMNS'} || 80; my($indent) = shift || 0; my($key,$max_len,$cols,$fmt,$col,$rows,$row); my $o = ''; # start of the output # calculate the maximum item length $max_len = max (map length, @$array) + 1; # Calculate maximum possible # of columns $cols = max 1, int(($total_width - $indent) / $max_len); # Now adjust the $cols based on $col_width if ($col_width < 0) { # given as -$columns? if (-$col_width <= $cols) { # is the value possible? $cols = -$col_width; # yes, set # of columns } # calculate the new maximum column width $col_width = min $max_len, int(($total_width - $indent) / $cols); } elsif ($col_width >= 0) { # $col_width given? # get maximum of $max_len, $col_width $col_width = max $col_width, $max_len, 1; $cols = max 1, int(($total_width - $indent) / $col_width); } $rows = int(($#$array + $cols) / $cols); $fmt = sprintf("%%-%ds ",$col_width - 1); $array = [sort @$array] unless $PreSorted; # sort if necessary for ($row = 0; $row < $rows; $row++) { $o .= ' ' x $indent if $indent > 0; for ($col = $row; $col <= $#$array; $col += $rows) { $o .= sprintf $fmt,$array->[$col]; } $o .= "\n"; } $o; } # print_cols -- just print the results of format_cols. sub print_cols($;@) { my $aref = shift; print format_cols($aref,@_); } sub min(@) { my($min) = shift; local($_); foreach (@_) { $min = $_ if $min > $_; } $min; } sub max(@) { my($max) = shift; local($_); foreach (@_) { $max = $_ if $max < $_; } $max; } 1; __END__ =head1 NAME Array::PrintCols - Print or format array elements in vertically sorted columns. =head1 SYNOPSIS C C;> C, $I;> C, $I, $I;> C, $I, $I, $I;> \@I may also be an ARRAYREF, HASH, or HASHREF. $I = C >; C<$Array::PrintCols::PreSorted = 0;> =head1 DESCRIPTION This module exports two subroutine names: C and C. The C subroutine prints the items of C<@I> in multiple, alphabetically & vertically sorted columns. In the case of the first argument being a HASH or HASHREF, only the keys of the hash are considered. One, two, or three optional arguments may be given to C to control the width and number of the columns, the total width of the output, and indentation. Reasonable defaults apply in the absence of the optional arguments (or when given as the empty string or zero). Generally, the minimum width column is used when possible. If C<$I> is given as a non-negative number, it is treated as the minimum width of the column; the actual width will be the maximum of this value and the lengths of all array items. If C<$I> is given as a negative number, its absolute value value is used to determine the total number of columns. However, it cannot exceed the total number of columns possible based on the maximum length of all the array elements. If a third argument is supplied, it is used as the total width of the output. The default for this value is the value of the environment variable C<$ENV{'COLUMNS'}>, if defined, or 80. If the fourth argument is given, it is used as the indent for all lines printed, which subtracts from the total width of the output. This value defaults to zero (ie: no indention of the output). The variable C<$Array::PrintCols::PreSorted> controls whether or not the C subroutine will expect its array argument to already be sorted. If this variable is nil or zero, C will cause print out a sorted I of the input array. The routine C is called exactly like C but returns the formatted result as a string, rather than printing it. C actually invokes C, which does the real work. =head1 EXAMPLES use Array::PrintCols; @commands = sort qw( use list put get set quit help server ); # print in three columns with an indention of 1. print_cols \@commands, -3, 0, 1; # print the formatted result data to the result file print RESULTFILE format_cols(\@result_data); =head1 REPOSITORY L =head1 AUTHOR Copyright (C) 1996-2014 Alan K. Stebbens 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 3 of the License, 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, see . =head1 BUGS Perl will not default intervening empty arguments; instead, use zero or the empty-string (''). Array-PrintCols-2.6/README000644 000765 000024 00000002733 12304434340 015155 0ustar00aksstaff000000 000000 Array::PrintCols, version 2.6, is a Perl module which defines a subroutine to print arrays of elements in alphabetically, vertically sorted columns. Optional arguments can be given to control either the width or number of the columns, the total width of the output, and the amount of indentation. Release 2.2 includes prototype definitions for format_cols and print_cols, and improved testing, based on the Test::More module. Release 2.1 included: a new routine, "format_cols", which returns the formatted result as a string (thanks to Gisle Aas for the suggestion); some slight changes to the test routine; some improvements to the documentation. The module has embedded POD text with which man or HTML pages can be created. For detailed usage information, you can do: pod2man PrintCols.pm | nroff -man The module is accompanied with Makefile.PL, this README, a test program, reference test output files, under the "tests" directory, and the GNU License, under which this software is freely available. To install the software: perl -MCPAN -e 'install Array::PrintCols' or (the "old" way): gunzip Array-PrintCols-2.6.tar.gz tar xvf Array-PrintCols-2.6.tar cd Array-PrintCols-2.6 perl Makefile.PL make make install The archives are available at the nearest CPAN site (http://cpan.perl.org), under the directory "modules/Array". Contributions or improvements are welcome. _________________________________________ Alan K. Stebbens Array-PrintCols-2.6/test.out.ref000644 000765 000024 00000040763 12304430053 016562 0ustar00aksstaff000000 000000 *** STDOUT *** Default arguments. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit get help list put quit server set use Using 2 columns. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit quit get server help set list use put Using column width of 15. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit help put server use get list quit set Using total width of 40. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit help put server use get list quit set Using 2 columns in a total width of 40. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit quit get server help set list use put Using 3 columns in a total width of 40. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit list server get put set help quit use Using column width of 15 in a total width of 45. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit list server get put set help quit use Using defaults with an indent of 1. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit get help list put quit server set use Using 2 columns with an indent of 2. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 exit quit get server help set list use put Printing first 200 words from the dictionary using defaults. 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 WITH explicit prevent 02139 WITHOUT expressly price 1 WRITING extend print 10 We fee problems 11 When file program 12 Whether files program's 1989 YOU follow programmer 1991 You following programs 19yy Your for prohibited 2 Yoyodyne forbid prominent 3 a form promoting 4 above forming property 5 absence found proprietary 6 accept free protect 675 acceptance freedom protecting 69 access from protection 7 accompanies full provide 8 accord further provided 9 achieve generally public A act generous publish ABOVE actions geographical published ABSOLUTELY add get purpose ADVISED addition give range AGREED address given rather ALL addressed gives reads AND aggregation goals reason AND/OR agreement granted reasonably ANY all grants receive APPLICABLE allegation gratis received ARISING allowed greatest receives AS along guarantee recipient ASSUME also guided recipients Accompany alter has redistribute Activities alternative have redistribution Also among having redistributors And an he refer Any and held referring Apply and/or hereby refers April announcement herein reflect Ave another holder refrain BE any hope regardless BECAUSE anyone how reliance BEEN anything hypothetical remain BEING application idea reputations BUT applications identifiable required BY applies if requirements But apply implemented responsibilities By appropriate implied responsible C appropriately impose rest CHARGE are imposed restricted CONDITIONS as in restrictions CONSEQUENTIAL ask include reuse COPYING associated included revised COPYRIGHT at including right CORRECTION attach incorporate rights COST attempt incorporates royalty-free Cambridge author incorporating run Coon author's independent running Copyright author/donor indicate runs DAMAGES authors indirectly safest DATA automatically individually same DEFECTIVE avoid induce sample DISTRIBUTION away information satisfy EITHER b infringe say END balance infringement saying ENTIRE based installation school EVEN be instead scope EVENT been intact scripts EXCEPT believed integrity section EXPRESSED below intended sections EXTENT best intent separate Each binary interactive service Everyone body interactively share Exception both interchange sharing FAILURE brief interest she FITNESS bring interface short FOR but interfaces should FREE by into show Finally c introduced sign For called invalid signature Foundation can is signed Foundation's cannot issues similar Free carry it simultaneously GENERAL case items--whatever since GNU cause its so General certain itself software Gnomovision change judgment software--to HAS changed keep sole HOLDER changing kernel someone HOLDERS charge know something Hacker choice language sometimes Here choose later source Hereinafter circumstance law speak How circumstances least special However claim legal specifies IF claims library specify IMPLIED clear license spirit IN code licensed start INABILITY collective licensee started INACCURATE comes licensees starts INCIDENTAL commands licenses stating INCLUDING commit licensor status IS compelled like steps If compilation limitation storage In compiler limited subject Inc compilers line sublicense It complete linking subroutine James compliance long such June component machine-readable suits KIND components made sure LAW concerns mail surrender LIABLE conditions major system LICENSE consequence make take LICENSED consider makes telling LIMITED considered making term LOSS consistent may terminate LOSSES conspicuously means terminated Library constantly medium terms License constitute meet than Licenses contact menu that MA containing mere the MAY contains mode their MERCHANTABILITY contents modification them MODIFICATION contest modifications themselves MODIFY contradict modified then Many contrast modify there Mass contributions modifying thereof NECESSARY control modules these NO convey more they NOT copies most things New copy mouse-clicks third OF copying must this OPERATE copyright name thoroughly OR copyrighted names those OTHER corresponding necessary though OTHERWISE cost need threatened OUT could new three Of countries no through Our counts noncommercial thus PARTICULAR course normally time PARTIES court not to PARTY covered nothing too PERFORMANCE customarily notice transferring PERMITTED danger notices translate POSSIBILITY date number translated PROGRAM decide object translation PROGRAMS decision obligations true PROVE definition obtain two PROVIDE deny of type PUBLIC depends offer under PURPOSE derivative offering understands Preamble derivatives on unenforceable President derived one unless Program designated only up Program's designed operating use Programs detail option used Public details or useful QUALITY develop order user REDISTRIBUTE differ ordinary users RENDERED different original using REPAIR directly other valid REQUIRED disclaimer others validity RISK disclaims otherwise verbatim SERVICING display our version SHOULD distinguishing ours versions SPECIAL distribute output view STATED distributed outside void SUCH distributing paper volume SUSTAINED distribution part w Section do particular want Sections document parties warranty See does parts way Software each party we Some effect passed welcome Subsection effectively passes what Such either patent when TERMS electronic patents where THE else people whether THERE employer performing which THIRD enforcing permission who TO entire permissions whole Terms entirely permit whose The equivalent permitted wide Therefore even pertinent will These ever physical willing This every physically wish Thus everyone pieces with To everyone's place without Ty example placed work UNLESS except places works USA exception plus would USE exceptions pointer write Version exchange portion written Vice excluded possible wrote WARRANTIES excluding practices years WARRANTY exclusion precise you WHEN excuse preferred your WHO executable present WILL exercise preserving Printing a list of words which failed at version 1.3 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games *** STDERR *** Array-PrintCols-2.6/tests/000755 000765 000024 00000000000 12304436512 015435 5ustar00aksstaff000000 000000 Array-PrintCols-2.6/tests/1.ref000644 000765 000024 00000000446 12304431764 016303 0ustar00aksstaff000000 000000 Test 1: Default arguments 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define get list put restore server use exit help lookup quit save set 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/10.ref000644 000765 000024 00000000514 12304431764 016357 0ustar00aksstaff000000 000000 Test 10: Using 2 columns with an indent of 2 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define quit exit restore get save help server list set lookup use put 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/11.ref000644 000765 000024 00000056463 12304431764 016376 0ustar00aksstaff000000 000000 Test 11: 200 words (from the GNU License) 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 affects find primarily 1 affirmed first prior 10 affirms fixed private 11 after flow problems 12 against follow procedures 13 aggregate following procuring 14 agree for produce 15 agreement forbid product 16 aim force products 17 all form program 1996 alleging format program's 2 allow found program--to 20 allowed free programmer 2007 along freedom programming 28 already freedoms programs 29 also from prohibit 3 alternative fulfilling prohibiting 30 although full prohibits 4 among functioning prominent 5 an fundamentally prominently 6 and further propagate 60 and/or future propagating 6b any general propagation 6d anyone general-purpose property 7 anything generally proprietary 8 applicable generate protect 9 applications get protecting A applied give protection ABOVE applies given protocols ABSOLUTELY apply gives provide ADVISED appropriate giving provided AGREED appropriately governed provision ALL approximates grant provisionally AND are granted proxy AND/OR area grants proxy's ANY arise gratis public APPLICABLE arrange greatest publicity ARISING arrangement guarantee publicly AS article had publish ASSUME as has published Acceptance asking have purpose Access assert having purposes Additional assets hereafter pursuant Affero associated holder qualify All assumption holders read Also assumptions hope readily An assures hosts reading Ancillary at household ready And attach how reason Anti-Circumvention attempt however reasonable Any attributed hypothetical receipt Apply attributions idea receive Appropriate author identifiable received Automatic authorization if receives BE authorized implement receiving BEEN authorizes implementation recipient BEING authorizing implied recipient's BUT authors import recipients BY automatically importing recognized Basic available impose redistribute But avoid imposed referring By away in refers C b include refrain CONDITIONS based included regard CONSEQUENTIAL be includes regardless CONVEYS because including regenerate COPYRIGHT been incompatible reinstated CORRECTION behalf incorporating relationship COST being incorporation released Code believe indemnification relevant Component below independent relicensing Convey benefit indicate relying Conveying best indicating remain Copies between individual remains Copyright beyond individuals removal Corresponding body industrial remove DAMAGES both inform render DATA box information represent DEFECTIVE brief infringe require December business infringed required Declining but infringement requirement Definitions by initiate requirements Developers c inside requires Disclaimer called install requiring Disclaiming can installed resolved Downstream cannot instead respect EITHER carry intact responsibilities END case intended responsible ENTIRE cases intention restrict EVEN cause interaction restricting EVENT cease interactive restriction EXCEPT certain interchange restrictions EXPRESSED cessation interest result EXTENT change interface resulting Each changed interfaces results Everyone changing interfered retains FAILURE characterized interpreter return FITNESS charge intimate reviewing FOR choose into revised Finally choosing invalidate right For circumstances irrevocable rights Forms circumvention is royalty Foundation civil it royalty-free Free claim item rules Freedom claims its run From class itself running GENERAL clear keep runs GNU clearly kernel safest GPL closely key sake GPL-3.0 code keys sale GUI collect kind same General combination kinds satisfy HAS combine know saying HOLDER combined knowingly school HOLDERS comes knowledge scope Having commands language scripts How commercial larger secondarily However commitment later section IF common law sections IMPLIED communication laws see IN compilation lawsuit sell INABILITY compilation's least selling INACCURATE compilations legal semiconductor INCIDENTAL compiler liability separable INCLUDING compliance liable separate IS comply libraries separately If component library server In computer license serves Inc computers licensed service Inclusion concerning licensee shall Information concerns licensees share Installation conditioned licenses shared Interface conditions licensors short Interpretation connection like should It consequence likewise show June consider limit sign KIND considered limitation significant Knowingly consistent limiting similar LAW conspicuously line simultaneously LIABLE constantly link single LICENSE constitutes linked so LIMITED construed linking software LOSS consumer list sold LOSSES contact litigation sole Later contain local solely Law containing long some Legal contains machine-readable source Lesser content made spare Liability contents mail speak Libraries context maintain special Library continue major specific License continued make specifically Licensees contractual makes specified Licenses contradict making specifies Licensing contrast manner specify Limitation contributor manufacturer spirit Limiting contributor's marked stand MERCHANTABILITY control marks standard MODIFIES controlled masks standards Major convenient material start March convey materially starts Mere conveyance may state Modified conveyed meaning stated Moreover conveying means statement NECESSARY conveys measure stating NO copies measures status NOT copy medium steps New copying meet storage No copyleft meets subdividing Non-Source copyright menu subject Not copyright-like merging sublicenses Nothing copyrightable met subprograms Notices copyrighted methods subroutine Notwithstanding cost might subsection OF could misrepresentation substantial OPERATE counterclaim mode substantially OR countries model such OTHER country modification sue OTHERWISE course modifications suffice OUT court modified supplement Object courts modifies support Of covenant modify supports Others coverage modifying sure Our covered more surrender PARTICULAR criterion most survive PARTIES cross-claim must system PARTY cure name systematic PERFORMANCE customarily names take PERMITTED customer nature tangible POSSIBILITY d necessary technological PROGRAM danger need tells PROGRAMS data needed term PROVE date neither terminal PROVIDE days network terminate PUBLIC decide new terminated PURPOSE deemed next terminates Patents defenses no terms Permissions defined non-consumer than Preamble definition non-exclusive that Product denied non-exercise the Program denominated non-free their Program's deny non-permissive them Programs denying non-source then Prohibiting deprive noncommercially there Propagation designated nor therefore Protecting designed normal these Public detail normally they QUALITY details not things RENDERED determining nothing third REPAIR develop notice this REQUIRED developers notices those RISK development notifies though ROM devices notify threatened Recipients differ number three Regardless different numbered through Required differently object thus Requiring direction obligate time Revised directions obligated to Rights directly obligations too SERVICING disclaim occasionally tools SHOULD disclaimer occurring trade SPECIAL discriminatory occurs trademark STATED display of trademarks SUCH displayed offer transaction SUSTAINED displays offered transfer Sections distinguishing offering transferred See distribute official transferring Software distributed on transmission Some distributing one treated Source distribution only treaty Standard do operated two States document operating type Sublicensing documented operation typical Such does option unacceptable Surrender domains options under System doubtful or unless TERMS downstream order unlimited THE durable organization unmodified THERE dwelling organizations unnecessary THIRD dynamically origin unpacking TO e original until Termination each other updates Terms earlier others use The effect otherwise used Therefore effected our useful These effective output user This effectively outside users Those efforts own uses To either owned using UNLESS electronic packaged valid USE embodied packaging verbatim Use employer paper version User enable paragraph versions Users enables paragraphs view Verbatim enforce part violates Version enforcing particular violation Versions ensure parties visible WARRANTIES entered parts void WARRANTY entire party volume WHEN entirely party's w WHO entity pass waive WILL equivalent password waiver WIPO erroneously patent want WITH essential patents warranties WITHOUT even pattern warranty WRITING ever payment was Warranty every peer-to-peer way We everyone peers ways When exact performing we YOU example permanently welcome You except permission well Your exceptions permissions were a excluded permissive what ability excluding permit whatever about exclusion permits when above exclusively permitted where absence excuse perpetuity whether absolute executable personal which abuse execute pertinent who accept executing physical whole acceptance exercise physically whom access exercising pieces whose accessible expected place widely accompanied expects please will accompanies explains plus window accord explicitly pointer wish according express portion with achieve expressly possesses within acknowledges extend possession without acquired extended possible work across extensions power work's actions extent practical working activities f practice works activity facilities precise worldwide actual fails precisely would actually fair predecessor written adapt family preferred year add fashion present years added favor presents you additional feature preservation your address fee prevent yourself addressed file prevented adopted files previous adversely finally price 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/12.ref000644 000765 000024 00000056450 12304431764 016373 0ustar00aksstaff000000 000000 Test 12: 200 words in 2 columns 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/13.ref000644 000765 000024 00000056004 12304431764 016367 0ustar00aksstaff000000 000000 Test 13: 200 words with column width of 15 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 affects find primarily 1 affirmed first prior 10 affirms fixed private 11 after flow problems 12 against follow procedures 13 aggregate following procuring 14 agree for produce 15 agreement forbid product 16 aim force products 17 all form program 1996 alleging format program's 2 allow found program--to 20 allowed free programmer 2007 along freedom programming 28 already freedoms programs 29 also from prohibit 3 alternative fulfilling prohibiting 30 although full prohibits 4 among functioning prominent 5 an fundamentally prominently 6 and further propagate 60 and/or future propagating 6b any general propagation 6d anyone general-purpose property 7 anything generally proprietary 8 applicable generate protect 9 applications get protecting A applied give protection ABOVE applies given protocols ABSOLUTELY apply gives provide ADVISED appropriate giving provided AGREED appropriately governed provision ALL approximates grant provisionally AND are granted proxy AND/OR area grants proxy's ANY arise gratis public APPLICABLE arrange greatest publicity ARISING arrangement guarantee publicly AS article had publish ASSUME as has published Acceptance asking have purpose Access assert having purposes Additional assets hereafter pursuant Affero associated holder qualify All assumption holders read Also assumptions hope readily An assures hosts reading Ancillary at household ready And attach how reason Anti-Circumvention attempt however reasonable Any attributed hypothetical receipt Apply attributions idea receive Appropriate author identifiable received Automatic authorization if receives BE authorized implement receiving BEEN authorizes implementation recipient BEING authorizing implied recipient's BUT authors import recipients BY automatically importing recognized Basic available impose redistribute But avoid imposed referring By away in refers C b include refrain CONDITIONS based included regard CONSEQUENTIAL be includes regardless CONVEYS because including regenerate COPYRIGHT been incompatible reinstated CORRECTION behalf incorporating relationship COST being incorporation released Code believe indemnification relevant Component below independent relicensing Convey benefit indicate relying Conveying best indicating remain Copies between individual remains Copyright beyond individuals removal Corresponding body industrial remove DAMAGES both inform render DATA box information represent DEFECTIVE brief infringe require December business infringed required Declining but infringement requirement Definitions by initiate requirements Developers c inside requires Disclaimer called install requiring Disclaiming can installed resolved Downstream cannot instead respect EITHER carry intact responsibilities END case intended responsible ENTIRE cases intention restrict EVEN cause interaction restricting EVENT cease interactive restriction EXCEPT certain interchange restrictions EXPRESSED cessation interest result EXTENT change interface resulting Each changed interfaces results Everyone changing interfered retains FAILURE characterized interpreter return FITNESS charge intimate reviewing FOR choose into revised Finally choosing invalidate right For circumstances irrevocable rights Forms circumvention is royalty Foundation civil it royalty-free Free claim item rules Freedom claims its run From class itself running GENERAL clear keep runs GNU clearly kernel safest GPL closely key sake GPL-3.0 code keys sale GUI collect kind same General combination kinds satisfy HAS combine know saying HOLDER combined knowingly school HOLDERS comes knowledge scope Having commands language scripts How commercial larger secondarily However commitment later section IF common law sections IMPLIED communication laws see IN compilation lawsuit sell INABILITY compilation's least selling INACCURATE compilations legal semiconductor INCIDENTAL compiler liability separable INCLUDING compliance liable separate IS comply libraries separately If component library server In computer license serves Inc computers licensed service Inclusion concerning licensee shall Information concerns licensees share Installation conditioned licenses shared Interface conditions licensors short Interpretation connection like should It consequence likewise show June consider limit sign KIND considered limitation significant Knowingly consistent limiting similar LAW conspicuously line simultaneously LIABLE constantly link single LICENSE constitutes linked so LIMITED construed linking software LOSS consumer list sold LOSSES contact litigation sole Later contain local solely Law containing long some Legal contains machine-readable source Lesser content made spare Liability contents mail speak Libraries context maintain special Library continue major specific License continued make specifically Licensees contractual makes specified Licenses contradict making specifies Licensing contrast manner specify Limitation contributor manufacturer spirit Limiting contributor's marked stand MERCHANTABILITY control marks standard MODIFIES controlled masks standards Major convenient material start March convey materially starts Mere conveyance may state Modified conveyed meaning stated Moreover conveying means statement NECESSARY conveys measure stating NO copies measures status NOT copy medium steps New copying meet storage No copyleft meets subdividing Non-Source copyright menu subject Not copyright-like merging sublicenses Nothing copyrightable met subprograms Notices copyrighted methods subroutine Notwithstanding cost might subsection OF could misrepresentation substantial OPERATE counterclaim mode substantially OR countries model such OTHER country modification sue OTHERWISE course modifications suffice OUT court modified supplement Object courts modifies support Of covenant modify supports Others coverage modifying sure Our covered more surrender PARTICULAR criterion most survive PARTIES cross-claim must system PARTY cure name systematic PERFORMANCE customarily names take PERMITTED customer nature tangible POSSIBILITY d necessary technological PROGRAM danger need tells PROGRAMS data needed term PROVE date neither terminal PROVIDE days network terminate PUBLIC decide new terminated PURPOSE deemed next terminates Patents defenses no terms Permissions defined non-consumer than Preamble definition non-exclusive that Product denied non-exercise the Program denominated non-free their Program's deny non-permissive them Programs denying non-source then Prohibiting deprive noncommercially there Propagation designated nor therefore Protecting designed normal these Public detail normally they QUALITY details not things RENDERED determining nothing third REPAIR develop notice this REQUIRED developers notices those RISK development notifies though ROM devices notify threatened Recipients differ number three Regardless different numbered through Required differently object thus Requiring direction obligate time Revised directions obligated to Rights directly obligations too SERVICING disclaim occasionally tools SHOULD disclaimer occurring trade SPECIAL discriminatory occurs trademark STATED display of trademarks SUCH displayed offer transaction SUSTAINED displays offered transfer Sections distinguishing offering transferred See distribute official transferring Software distributed on transmission Some distributing one treated Source distribution only treaty Standard do operated two States document operating type Sublicensing documented operation typical Such does option unacceptable Surrender domains options under System doubtful or unless TERMS downstream order unlimited THE durable organization unmodified THERE dwelling organizations unnecessary THIRD dynamically origin unpacking TO e original until Termination each other updates Terms earlier others use The effect otherwise used Therefore effected our useful These effective output user This effectively outside users Those efforts own uses To either owned using UNLESS electronic packaged valid USE embodied packaging verbatim Use employer paper version User enable paragraph versions Users enables paragraphs view Verbatim enforce part violates Version enforcing particular violation Versions ensure parties visible WARRANTIES entered parts void WARRANTY entire party volume WHEN entirely party's w WHO entity pass waive WILL equivalent password waiver WIPO erroneously patent want WITH essential patents warranties WITHOUT even pattern warranty WRITING ever payment was Warranty every peer-to-peer way We everyone peers ways When exact performing we YOU example permanently welcome You except permission well Your exceptions permissions were a excluded permissive what ability excluding permit whatever about exclusion permits when above exclusively permitted where absence excuse perpetuity whether absolute executable personal which abuse execute pertinent who accept executing physical whole acceptance exercise physically whom access exercising pieces whose accessible expected place widely accompanied expects please will accompanies explains plus window accord explicitly pointer wish according express portion with achieve expressly possesses within acknowledges extend possession without acquired extended possible work across extensions power work's actions extent practical working activities f practice works activity facilities precise worldwide actual fails precisely would actually fair predecessor written adapt family preferred year add fashion present years added favor presents you additional feature preservation your address fee prevent yourself addressed file prevented adopted files previous adversely finally price 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/14.ref000644 000765 000024 00000056462 12304431764 016400 0ustar00aksstaff000000 000000 Test 14: 200 words in a total width of 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/15.ref000644 000765 000024 00000056470 12304431764 016400 0ustar00aksstaff000000 000000 Test 15: 200 words in 2 columns, total width 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/16.ref000644 000765 000024 00000056470 12304431764 016401 0ustar00aksstaff000000 000000 Test 16: 200 words in 3 columns, total width 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/17.ref000644 000765 000024 00000056500 12304431764 016374 0ustar00aksstaff000000 000000 Test 17: 200 words with column width 15, total width 45 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/18.ref000644 000765 000024 00000056455 12304431764 016406 0ustar00aksstaff000000 000000 Test 18: 200 words with indent of 1 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 affects find primarily 1 affirmed first prior 10 affirms fixed private 11 after flow problems 12 against follow procedures 13 aggregate following procuring 14 agree for produce 15 agreement forbid product 16 aim force products 17 all form program 1996 alleging format program's 2 allow found program--to 20 allowed free programmer 2007 along freedom programming 28 already freedoms programs 29 also from prohibit 3 alternative fulfilling prohibiting 30 although full prohibits 4 among functioning prominent 5 an fundamentally prominently 6 and further propagate 60 and/or future propagating 6b any general propagation 6d anyone general-purpose property 7 anything generally proprietary 8 applicable generate protect 9 applications get protecting A applied give protection ABOVE applies given protocols ABSOLUTELY apply gives provide ADVISED appropriate giving provided AGREED appropriately governed provision ALL approximates grant provisionally AND are granted proxy AND/OR area grants proxy's ANY arise gratis public APPLICABLE arrange greatest publicity ARISING arrangement guarantee publicly AS article had publish ASSUME as has published Acceptance asking have purpose Access assert having purposes Additional assets hereafter pursuant Affero associated holder qualify All assumption holders read Also assumptions hope readily An assures hosts reading Ancillary at household ready And attach how reason Anti-Circumvention attempt however reasonable Any attributed hypothetical receipt Apply attributions idea receive Appropriate author identifiable received Automatic authorization if receives BE authorized implement receiving BEEN authorizes implementation recipient BEING authorizing implied recipient's BUT authors import recipients BY automatically importing recognized Basic available impose redistribute But avoid imposed referring By away in refers C b include refrain CONDITIONS based included regard CONSEQUENTIAL be includes regardless CONVEYS because including regenerate COPYRIGHT been incompatible reinstated CORRECTION behalf incorporating relationship COST being incorporation released Code believe indemnification relevant Component below independent relicensing Convey benefit indicate relying Conveying best indicating remain Copies between individual remains Copyright beyond individuals removal Corresponding body industrial remove DAMAGES both inform render DATA box information represent DEFECTIVE brief infringe require December business infringed required Declining but infringement requirement Definitions by initiate requirements Developers c inside requires Disclaimer called install requiring Disclaiming can installed resolved Downstream cannot instead respect EITHER carry intact responsibilities END case intended responsible ENTIRE cases intention restrict EVEN cause interaction restricting EVENT cease interactive restriction EXCEPT certain interchange restrictions EXPRESSED cessation interest result EXTENT change interface resulting Each changed interfaces results Everyone changing interfered retains FAILURE characterized interpreter return FITNESS charge intimate reviewing FOR choose into revised Finally choosing invalidate right For circumstances irrevocable rights Forms circumvention is royalty Foundation civil it royalty-free Free claim item rules Freedom claims its run From class itself running GENERAL clear keep runs GNU clearly kernel safest GPL closely key sake GPL-3.0 code keys sale GUI collect kind same General combination kinds satisfy HAS combine know saying HOLDER combined knowingly school HOLDERS comes knowledge scope Having commands language scripts How commercial larger secondarily However commitment later section IF common law sections IMPLIED communication laws see IN compilation lawsuit sell INABILITY compilation's least selling INACCURATE compilations legal semiconductor INCIDENTAL compiler liability separable INCLUDING compliance liable separate IS comply libraries separately If component library server In computer license serves Inc computers licensed service Inclusion concerning licensee shall Information concerns licensees share Installation conditioned licenses shared Interface conditions licensors short Interpretation connection like should It consequence likewise show June consider limit sign KIND considered limitation significant Knowingly consistent limiting similar LAW conspicuously line simultaneously LIABLE constantly link single LICENSE constitutes linked so LIMITED construed linking software LOSS consumer list sold LOSSES contact litigation sole Later contain local solely Law containing long some Legal contains machine-readable source Lesser content made spare Liability contents mail speak Libraries context maintain special Library continue major specific License continued make specifically Licensees contractual makes specified Licenses contradict making specifies Licensing contrast manner specify Limitation contributor manufacturer spirit Limiting contributor's marked stand MERCHANTABILITY control marks standard MODIFIES controlled masks standards Major convenient material start March convey materially starts Mere conveyance may state Modified conveyed meaning stated Moreover conveying means statement NECESSARY conveys measure stating NO copies measures status NOT copy medium steps New copying meet storage No copyleft meets subdividing Non-Source copyright menu subject Not copyright-like merging sublicenses Nothing copyrightable met subprograms Notices copyrighted methods subroutine Notwithstanding cost might subsection OF could misrepresentation substantial OPERATE counterclaim mode substantially OR countries model such OTHER country modification sue OTHERWISE course modifications suffice OUT court modified supplement Object courts modifies support Of covenant modify supports Others coverage modifying sure Our covered more surrender PARTICULAR criterion most survive PARTIES cross-claim must system PARTY cure name systematic PERFORMANCE customarily names take PERMITTED customer nature tangible POSSIBILITY d necessary technological PROGRAM danger need tells PROGRAMS data needed term PROVE date neither terminal PROVIDE days network terminate PUBLIC decide new terminated PURPOSE deemed next terminates Patents defenses no terms Permissions defined non-consumer than Preamble definition non-exclusive that Product denied non-exercise the Program denominated non-free their Program's deny non-permissive them Programs denying non-source then Prohibiting deprive noncommercially there Propagation designated nor therefore Protecting designed normal these Public detail normally they QUALITY details not things RENDERED determining nothing third REPAIR develop notice this REQUIRED developers notices those RISK development notifies though ROM devices notify threatened Recipients differ number three Regardless different numbered through Required differently object thus Requiring direction obligate time Revised directions obligated to Rights directly obligations too SERVICING disclaim occasionally tools SHOULD disclaimer occurring trade SPECIAL discriminatory occurs trademark STATED display of trademarks SUCH displayed offer transaction SUSTAINED displays offered transfer Sections distinguishing offering transferred See distribute official transferring Software distributed on transmission Some distributing one treated Source distribution only treaty Standard do operated two States document operating type Sublicensing documented operation typical Such does option unacceptable Surrender domains options under System doubtful or unless TERMS downstream order unlimited THE durable organization unmodified THERE dwelling organizations unnecessary THIRD dynamically origin unpacking TO e original until Termination each other updates Terms earlier others use The effect otherwise used Therefore effected our useful These effective output user This effectively outside users Those efforts own uses To either owned using UNLESS electronic packaged valid USE embodied packaging verbatim Use employer paper version User enable paragraph versions Users enables paragraphs view Verbatim enforce part violates Version enforcing particular violation Versions ensure parties visible WARRANTIES entered parts void WARRANTY entire party volume WHEN entirely party's w WHO entity pass waive WILL equivalent password waiver WIPO erroneously patent want WITH essential patents warranties WITHOUT even pattern warranty WRITING ever payment was Warranty every peer-to-peer way We everyone peers ways When exact performing we YOU example permanently welcome You except permission well Your exceptions permissions were a excluded permissive what ability excluding permit whatever about exclusion permits when above exclusively permitted where absence excuse perpetuity whether absolute executable personal which abuse execute pertinent who accept executing physical whole acceptance exercise physically whom access exercising pieces whose accessible expected place widely accompanied expects please will accompanies explains plus window accord explicitly pointer wish according express portion with achieve expressly possesses within acknowledges extend possession without acquired extended possible work across extensions power work's actions extent practical working activities f practice works activity facilities precise worldwide actual fails precisely would actually fair predecessor written adapt family preferred year add fashion present years added favor presents you additional feature preservation your address fee prevent yourself addressed file prevented adopted files previous adversely finally price 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/19.ref000644 000765 000024 00000060767 12304431764 016410 0ustar00aksstaff000000 000000 Test 19: 200 words in 2 columns with indent of 2 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 finally 1 find 10 first 11 fixed 12 flow 13 follow 14 following 15 for 16 forbid 17 force 1996 form 2 format 20 found 2007 free 28 freedom 29 freedoms 3 from 30 fulfilling 4 full 5 functioning 6 fundamentally 60 further 6b future 6d general 7 general-purpose 8 generally 9 generate A get ABOVE give ABSOLUTELY given ADVISED gives AGREED giving ALL governed AND grant AND/OR granted ANY grants APPLICABLE gratis ARISING greatest AS guarantee ASSUME had Acceptance has Access have Additional having Affero hereafter All holder Also holders An hope Ancillary hosts And household Anti-Circumvention how Any however Apply hypothetical Appropriate idea Automatic identifiable BE if BEEN implement BEING implementation BUT implied BY import Basic importing But impose By imposed C in CONDITIONS include CONSEQUENTIAL included CONVEYS includes COPYRIGHT including CORRECTION incompatible COST incorporating Code incorporation Component indemnification Convey independent Conveying indicate Copies indicating Copyright individual Corresponding individuals DAMAGES industrial DATA inform DEFECTIVE information December infringe Declining infringed Definitions infringement Developers initiate Disclaimer inside Disclaiming install Downstream installed EITHER instead END intact ENTIRE intended EVEN intention EVENT interaction EXCEPT interactive EXPRESSED interchange EXTENT interest Each interface Everyone interfaces FAILURE interfered FITNESS interpreter FOR intimate Finally into For invalidate Forms irrevocable Foundation is Free it Freedom item From its GENERAL itself GNU keep GPL kernel GPL-3.0 key GUI keys General kind HAS kinds HOLDER know HOLDERS knowingly Having knowledge How language However larger IF later IMPLIED law IN laws INABILITY lawsuit INACCURATE least INCIDENTAL legal INCLUDING liability IS liable If libraries In library Inc license Inclusion licensed Information licensee Installation licensees Interface licenses Interpretation licensors It like June likewise KIND limit Knowingly limitation LAW limiting LIABLE line LICENSE link LIMITED linked LOSS linking LOSSES list Later litigation Law local Legal long Lesser machine-readable Liability made Libraries mail Library maintain License major Licensees make Licenses makes Licensing making Limitation manner Limiting manufacturer MERCHANTABILITY marked MODIFIES marks Major masks March material Mere materially Modified may Moreover meaning NECESSARY means NO measure NOT measures New medium No meet Non-Source meets Not menu Nothing merging Notices met Notwithstanding methods OF might OPERATE misrepresentation OR mode OTHER model OTHERWISE modification OUT modifications Object modified Of modifies Others modify Our modifying PARTICULAR more PARTIES most PARTY must PERFORMANCE name PERMITTED names POSSIBILITY nature PROGRAM necessary PROGRAMS need PROVE needed PROVIDE neither PUBLIC network PURPOSE new Patents next Permissions no Preamble non-consumer Product non-exclusive Program non-exercise Program's non-free Programs non-permissive Prohibiting non-source Propagation noncommercially Protecting nor Public normal QUALITY normally RENDERED not REPAIR nothing REQUIRED notice RISK notices ROM notifies Recipients notify Regardless number Required numbered Requiring object Revised obligate Rights obligated SERVICING obligations SHOULD occasionally SPECIAL occurring STATED occurs SUCH of SUSTAINED offer Sections offered See offering Software official Some on Source one Standard only States operated Sublicensing operating Such operation Surrender option System options TERMS or THE order THERE organization THIRD organizations TO origin Termination original Terms other The others Therefore otherwise These our This output Those outside To own UNLESS owned USE packaged Use packaging User paper Users paragraph Verbatim paragraphs Version part Versions particular WARRANTIES parties WARRANTY parts WHEN party WHO party's WILL pass WIPO password WITH patent WITHOUT patents WRITING pattern Warranty payment We peer-to-peer When peers YOU performing You permanently Your permission a permissions ability permissive about permit above permits absence permitted absolute perpetuity abuse personal accept pertinent acceptance physical access physically accessible pieces accompanied place accompanies please accord plus according pointer achieve portion acknowledges possesses acquired possession across possible actions power activities practical activity practice actual precise actually precisely adapt predecessor add preferred added present additional presents address preservation addressed prevent adopted prevented adversely previous affects price affirmed primarily affirms prior after private against problems aggregate procedures agree procuring agreement produce aim product all products alleging program allow program's allowed program--to along programmer already programming also programs alternative prohibit although prohibiting among prohibits an prominent and prominently and/or propagate any propagating anyone propagation anything property applicable proprietary applications protect applied protecting applies protection apply protocols appropriate provide appropriately provided approximates provision are provisionally area proxy arise proxy's arrange public arrangement publicity article publicly as publish asking published assert purpose assets purposes associated pursuant assumption qualify assumptions read assures readily at reading attach ready attempt reason attributed reasonable attributions receipt author receive authorization received authorized receives authorizes receiving authorizing recipient authors recipient's automatically recipients available recognized avoid redistribute away referring b refers based refrain be regard because regardless been regenerate behalf reinstated being relationship believe released below relevant benefit relicensing best relying between remain beyond remains body removal both remove box render brief represent business require but required by requirement c requirements called requires can requiring cannot resolved carry respect case responsibilities cases responsible cause restrict cease restricting certain restriction cessation restrictions change result changed resulting changing results characterized retains charge return choose reviewing choosing revised circumstances right circumvention rights civil royalty claim royalty-free claims rules class run clear running clearly runs closely safest code sake collect sale combination same combine satisfy combined saying comes school commands scope commercial scripts commitment secondarily common section communication sections compilation see compilation's sell compilations selling compiler semiconductor compliance separable comply separate component separately computer server computers serves concerning service concerns shall conditioned share conditions shared connection short consequence should consider show considered sign consistent significant conspicuously similar constantly simultaneously constitutes single construed so consumer software contact sold contain sole containing solely contains some content source contents spare context speak continue special continued specific contractual specifically contradict specified contrast specifies contributor specify contributor's spirit control stand controlled standard convenient standards convey start conveyance starts conveyed state conveying stated conveys statement copies stating copy status copying steps copyleft storage copyright subdividing copyright-like subject copyrightable sublicenses copyrighted subprograms cost subroutine could subsection counterclaim substantial countries substantially country such course sue court suffice courts supplement covenant support coverage supports covered sure criterion surrender cross-claim survive cure system customarily systematic customer take d tangible danger technological data tells date term days terminal decide terminate deemed terminated defenses terminates defined terms definition than denied that denominated the deny their denying them deprive then designated there designed therefore detail these details they determining things develop third developers this development those devices though differ threatened different three differently through direction thus directions time directly to disclaim too disclaimer tools discriminatory trade display trademark displayed trademarks displays transaction distinguishing transfer distribute transferred distributed transferring distributing transmission distribution treated do treaty document two documented type does typical domains unacceptable doubtful under downstream unless durable unlimited dwelling unmodified dynamically unnecessary e unpacking each until earlier updates effect use effected used effective useful effectively user efforts users either uses electronic using embodied valid employer verbatim enable version enables versions enforce view enforcing violates ensure violation entered visible entire void entirely volume entity w equivalent waive erroneously waiver essential want even warranties ever warranty every was everyone way exact ways example we except welcome exceptions well excluded were excluding what exclusion whatever exclusively when excuse where executable whether execute which executing who exercise whole exercising whom expected whose expects widely explains will explicitly window express wish expressly with extend within extended without extensions work extent work's f working facilities works fails worldwide fair would family written fashion year favor years feature you fee your file yourself files 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/2.ref000644 000765 000024 00000000451 12304431764 016300 0ustar00aksstaff000000 000000 Test 2: Using 2 columns 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define quit exit restore get save help server list set lookup use put 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/20.ref000644 000765 000024 00000057260 12304431764 016372 0ustar00aksstaff000000 000000 Test 20: 200 words in 5 columns, indent 3, total width 100 12345678901234567890123456789012345678901234567890123456789012345678901234567890 0 The coverage least referring 1 Therefore covered legal refers 10 These criterion liability refrain 11 This cross-claim liable regard 12 Those cure libraries regardless 13 To customarily library regenerate 14 UNLESS customer license reinstated 15 USE d licensed relationship 16 Use danger licensee released 17 User data licensees relevant 1996 Users date licenses relicensing 2 Verbatim days licensors relying 20 Version decide like remain 2007 Versions deemed likewise remains 28 WARRANTIES defenses limit removal 29 WARRANTY defined limitation remove 3 WHEN definition limiting render 30 WHO denied line represent 4 WILL denominated link require 5 WIPO deny linked required 6 WITH denying linking requirement 60 WITHOUT deprive list requirements 6b WRITING designated litigation requires 6d Warranty designed local requiring 7 We detail long resolved 8 When details machine-readable respect 9 YOU determining made responsibilities A You develop mail responsible ABOVE Your developers maintain restrict ABSOLUTELY a development major restricting ADVISED ability devices make restriction AGREED about differ makes restrictions ALL above different making result AND absence differently manner resulting AND/OR absolute direction manufacturer results ANY abuse directions marked retains APPLICABLE accept directly marks return ARISING acceptance disclaim masks reviewing AS access disclaimer material revised ASSUME accessible discriminatory materially right Acceptance accompanied display may rights Access accompanies displayed meaning royalty Additional accord displays means royalty-free Affero according distinguishing measure rules All achieve distribute measures run Also acknowledges distributed medium running An acquired distributing meet runs Ancillary across distribution meets safest And actions do menu sake Anti-Circumvention activities document merging sale Any activity documented met same Apply actual does methods satisfy Appropriate actually domains might saying Automatic adapt doubtful misrepresentation school BE add downstream mode scope BEEN added durable model scripts BEING additional dwelling modification secondarily BUT address dynamically modifications section BY addressed e modified sections Basic adopted each modifies see But adversely earlier modify sell By affects effect modifying selling C affirmed effected more semiconductor CONDITIONS affirms effective most separable CONSEQUENTIAL after effectively must separate CONVEYS against efforts name separately COPYRIGHT aggregate either names server CORRECTION agree electronic nature serves COST agreement embodied necessary service Code aim employer need shall Component all enable needed share Convey alleging enables neither shared Conveying allow enforce network short Copies allowed enforcing new should Copyright along ensure next show Corresponding already entered no sign DAMAGES also entire non-consumer significant DATA alternative entirely non-exclusive similar DEFECTIVE although entity non-exercise simultaneously December among equivalent non-free single Declining an erroneously non-permissive so Definitions and essential non-source software Developers and/or even noncommercially sold Disclaimer any ever nor sole Disclaiming anyone every normal solely Downstream anything everyone normally some EITHER applicable exact not source END applications example nothing spare ENTIRE applied except notice speak EVEN applies exceptions notices special EVENT apply excluded notifies specific EXCEPT appropriate excluding notify specifically EXPRESSED appropriately exclusion number specified EXTENT approximates exclusively numbered specifies Each are excuse object specify Everyone area executable obligate spirit FAILURE arise execute obligated stand FITNESS arrange executing obligations standard FOR arrangement exercise occasionally standards Finally article exercising occurring start For as expected occurs starts Forms asking expects of state Foundation assert explains offer stated Free assets explicitly offered statement Freedom associated express offering stating From assumption expressly official status GENERAL assumptions extend on steps GNU assures extended one storage GPL at extensions only subdividing GPL-3.0 attach extent operated subject GUI attempt f operating sublicenses General attributed facilities operation subprograms HAS attributions fails option subroutine HOLDER author fair options subsection HOLDERS authorization family or substantial Having authorized fashion order substantially How authorizes favor organization such However authorizing feature organizations sue IF authors fee origin suffice IMPLIED automatically file original supplement IN available files other support INABILITY avoid finally others supports INACCURATE away find otherwise sure INCIDENTAL b first our surrender INCLUDING based fixed output survive IS be flow outside system If because follow own systematic In been following owned take Inc behalf for packaged tangible Inclusion being forbid packaging technological Information believe force paper tells Installation below form paragraph term Interface benefit format paragraphs terminal Interpretation best found part terminate It between free particular terminated June beyond freedom parties terminates KIND body freedoms parts terms Knowingly both from party than LAW box fulfilling party's that LIABLE brief full pass the LICENSE business functioning password their LIMITED but fundamentally patent them LOSS by further patents then LOSSES c future pattern there Later called general payment therefore Law can general-purpose peer-to-peer these Legal cannot generally peers they Lesser carry generate performing things Liability case get permanently third Libraries cases give permission this Library cause given permissions those License cease gives permissive though Licensees certain giving permit threatened Licenses cessation governed permits three Licensing change grant permitted through Limitation changed granted perpetuity thus Limiting changing grants personal time MERCHANTABILITY characterized gratis pertinent to MODIFIES charge greatest physical too Major choose guarantee physically tools March choosing had pieces trade Mere circumstances has place trademark Modified circumvention have please trademarks Moreover civil having plus transaction NECESSARY claim hereafter pointer transfer NO claims holder portion transferred NOT class holders possesses transferring New clear hope possession transmission No clearly hosts possible treated Non-Source closely household power treaty Not code how practical two Nothing collect however practice type Notices combination hypothetical precise typical Notwithstanding combine idea precisely unacceptable OF combined identifiable predecessor under OPERATE comes if preferred unless OR commands implement present unlimited OTHER commercial implementation presents unmodified OTHERWISE commitment implied preservation unnecessary OUT common import prevent unpacking Object communication importing prevented until Of compilation impose previous updates Others compilation's imposed price use Our compilations in primarily used PARTICULAR compiler include prior useful PARTIES compliance included private user PARTY comply includes problems users PERFORMANCE component including procedures uses PERMITTED computer incompatible procuring using POSSIBILITY computers incorporating produce valid PROGRAM concerning incorporation product verbatim PROGRAMS concerns indemnification products version PROVE conditioned independent program versions PROVIDE conditions indicate program's view PUBLIC connection indicating program--to violates PURPOSE consequence individual programmer violation Patents consider individuals programming visible Permissions considered industrial programs void Preamble consistent inform prohibit volume Product conspicuously information prohibiting w Program constantly infringe prohibits waive Program's constitutes infringed prominent waiver Programs construed infringement prominently want Prohibiting consumer initiate propagate warranties Propagation contact inside propagating warranty Protecting contain install propagation was Public containing installed property way QUALITY contains instead proprietary ways RENDERED content intact protect we REPAIR contents intended protecting welcome REQUIRED context intention protection well RISK continue interaction protocols were ROM continued interactive provide what Recipients contractual interchange provided whatever Regardless contradict interest provision when Required contrast interface provisionally where Requiring contributor interfaces proxy whether Revised contributor's interfered proxy's which Rights control interpreter public who SERVICING controlled intimate publicity whole SHOULD convenient into publicly whom SPECIAL convey invalidate publish whose STATED conveyance irrevocable published widely SUCH conveyed is purpose will SUSTAINED conveying it purposes window Sections conveys item pursuant wish See copies its qualify with Software copy itself read within Some copying keep readily without Source copyleft kernel reading work Standard copyright key ready work's States copyright-like keys reason working Sublicensing copyrightable kind reasonable works Such copyrighted kinds receipt worldwide Surrender cost know receive would System could knowingly received written TERMS counterclaim knowledge receives year THE countries language receiving years THERE country larger recipient you THIRD course later recipient's your TO court law recipients yourself Termination courts laws recognized Terms covenant lawsuit redistribute 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/21.ref000644 000765 000024 00000002077 12304431764 016367 0ustar00aksstaff000000 000000 Test 21: Complex words, indent 5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/22.ref000644 000765 000024 00000002336 12304431764 016366 0ustar00aksstaff000000 000000 Test 22: Complex words, in one column, indent 5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/23.ref000644 000765 000024 00000002163 12304431764 016365 0ustar00aksstaff000000 000000 Test 23: Complex words, in two columns, indent 5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D SysNT_long FSPEC_complete SysNT_short FSPEC_long Win95Desktop_complete FSPEC_short Win95Desktop_long ISPEC_complete Win95Desktop_short ISPEC_long front_end ISPEC_short games LargeApps memory MMx_complete photoshop MMx_long sys32_win95_complete MMx_short sys32_win95_long Multimedia_complete sys32_win95_short NTDesktop_complete ubench NTDesktop_long vox NTDesktop_short wmt_ubench NT_other_complete xmark96_complete NT_other_long xmark96_long NT_other_short xmark96_short SysNT_complete 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/24.ref000644 000765 000024 00000002121 12304431764 016360 0ustar00aksstaff000000 000000 Test 24: Complex words, in three columns, indent 5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/25.ref000644 000765 000024 00000002337 12304431764 016372 0ustar00aksstaff000000 000000 Test 25: Complex words, indent 5, total width 20 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/26.ref000644 000765 000024 00000002337 12304431764 016373 0ustar00aksstaff000000 000000 Test 26: Complex words, indent 5, total width 25 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/27.ref000644 000765 000024 00000002337 12304431764 016374 0ustar00aksstaff000000 000000 Test 27: Complex words, indent 5, total width 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/28.ref000644 000765 000024 00000002272 12304431764 016373 0ustar00aksstaff000000 000000 Test 28: Complex words, indent 4, total width 45 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/29.ref000644 000765 000024 00000002115 12304431764 016370 0ustar00aksstaff000000 000000 Test 29: Complex words, indent 3, total width 50 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D SysNT_long FSPEC_complete SysNT_short FSPEC_long Win95Desktop_complete FSPEC_short Win95Desktop_long ISPEC_complete Win95Desktop_short ISPEC_long front_end ISPEC_short games LargeApps memory MMx_complete photoshop MMx_long sys32_win95_complete MMx_short sys32_win95_long Multimedia_complete sys32_win95_short NTDesktop_complete ubench NTDesktop_long vox NTDesktop_short wmt_ubench NT_other_complete xmark96_complete NT_other_long xmark96_long NT_other_short xmark96_short SysNT_complete 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/3.ref000644 000765 000024 00000000611 12304431764 016277 0ustar00aksstaff000000 000000 Test 3: Using column width of 15 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define help put save use exit list quit server get lookup restore set 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/30.ref000644 000765 000024 00000002047 12304431764 016364 0ustar00aksstaff000000 000000 Test 30: Complex words, indent 1, total width 60 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D SysNT_long FSPEC_complete SysNT_short FSPEC_long Win95Desktop_complete FSPEC_short Win95Desktop_long ISPEC_complete Win95Desktop_short ISPEC_long front_end ISPEC_short games LargeApps memory MMx_complete photoshop MMx_long sys32_win95_complete MMx_short sys32_win95_long Multimedia_complete sys32_win95_short NTDesktop_complete ubench NTDesktop_long vox NTDesktop_short wmt_ubench NT_other_complete xmark96_complete NT_other_long xmark96_long NT_other_short xmark96_short SysNT_complete 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/31.ref000644 000765 000024 00000002033 12304431764 016360 0ustar00aksstaff000000 000000 Test 31: Complex words, indent 1, total width 80 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/32.ref000644 000765 000024 00000002515 12304431764 016366 0ustar00aksstaff000000 000000 Test 32: Complex words, indent 1, col width 30 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D SysNT_long FSPEC_complete SysNT_short FSPEC_long Win95Desktop_complete FSPEC_short Win95Desktop_long ISPEC_complete Win95Desktop_short ISPEC_long front_end ISPEC_short games LargeApps memory MMx_complete photoshop MMx_long sys32_win95_complete MMx_short sys32_win95_long Multimedia_complete sys32_win95_short NTDesktop_complete ubench NTDesktop_long vox NTDesktop_short wmt_ubench NT_other_complete xmark96_complete NT_other_long xmark96_long NT_other_short xmark96_short SysNT_complete 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/33.ref000644 000765 000024 00000003343 12304431764 016367 0ustar00aksstaff000000 000000 Test 33: Complex words, indent 1, col width 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D FSPEC_complete FSPEC_long FSPEC_short ISPEC_complete ISPEC_long ISPEC_short LargeApps MMx_complete MMx_long MMx_short Multimedia_complete NTDesktop_complete NTDesktop_long NTDesktop_short NT_other_complete NT_other_long NT_other_short SysNT_complete SysNT_long SysNT_short Win95Desktop_complete Win95Desktop_long Win95Desktop_short front_end games memory photoshop sys32_win95_complete sys32_win95_long sys32_win95_short ubench vox wmt_ubench xmark96_complete xmark96_long xmark96_short 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/34.ref000644 000765 000024 00000002535 12304431764 016372 0ustar00aksstaff000000 000000 Test 34: Complex words, indent 1, col width 30, total width 90 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D SysNT_long FSPEC_complete SysNT_short FSPEC_long Win95Desktop_complete FSPEC_short Win95Desktop_long ISPEC_complete Win95Desktop_short ISPEC_long front_end ISPEC_short games LargeApps memory MMx_complete photoshop MMx_long sys32_win95_complete MMx_short sys32_win95_long Multimedia_complete sys32_win95_short NTDesktop_complete ubench NTDesktop_long vox NTDesktop_short wmt_ubench NT_other_complete xmark96_complete NT_other_long xmark96_long NT_other_short xmark96_short SysNT_complete 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/35.ref000644 000765 000024 00000002522 12304431764 016367 0ustar00aksstaff000000 000000 Test 35: Complex words, indent 1, col width 30, total width 120 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/36.ref000644 000765 000024 00000002514 12304431764 016371 0ustar00aksstaff000000 000000 Test 36: Complex words, indent 1, col width 30, total width 121 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D MMx_short SysNT_short sys32_win95_short FSPEC_complete Multimedia_complete Win95Desktop_complete ubench FSPEC_long NTDesktop_complete Win95Desktop_long vox FSPEC_short NTDesktop_long Win95Desktop_short wmt_ubench ISPEC_complete NTDesktop_short front_end xmark96_complete ISPEC_long NT_other_complete games xmark96_long ISPEC_short NT_other_long memory xmark96_short LargeApps NT_other_short photoshop MMx_complete SysNT_complete sys32_win95_complete MMx_long SysNT_long sys32_win95_long 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/37.ref000644 000765 000024 00000002112 12304431764 016364 0ustar00aksstaff000000 000000 Test 37: Complex words, indent 5, array ref 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/38.ref000644 000765 000024 00000002105 12304431764 016367 0ustar00aksstaff000000 000000 Test 38: Complex words, indent 5, hash 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/39.ref000644 000765 000024 00000002111 12304431764 016365 0ustar00aksstaff000000 000000 Test 39: Complex words, indent 5, hash ref 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3D NTDesktop_long memory FSPEC_complete NTDesktop_short photoshop FSPEC_long NT_other_complete sys32_win95_complete FSPEC_short NT_other_long sys32_win95_long ISPEC_complete NT_other_short sys32_win95_short ISPEC_long SysNT_complete ubench ISPEC_short SysNT_long vox LargeApps SysNT_short wmt_ubench MMx_complete Win95Desktop_complete xmark96_complete MMx_long Win95Desktop_long xmark96_long MMx_short Win95Desktop_short xmark96_short Multimedia_complete front_end NTDesktop_complete games 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/4.ref000644 000765 000024 00000000455 12304431764 016306 0ustar00aksstaff000000 000000 Test 4: Using total width of 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define help put save use exit list quit server get lookup restore set 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/5.ref000644 000765 000024 00000000500 12304431764 016276 0ustar00aksstaff000000 000000 Test 5: Using 2 columns in a total width of 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define quit exit restore get save help server list set lookup use put 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/6.ref000644 000765 000024 00000000476 12304431764 016313 0ustar00aksstaff000000 000000 Test 6: Using 3 columns in a total width of 40 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define lookup server exit put set get quit use help restore list save 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/7.ref000644 000765 000024 00000000476 12304431764 016314 0ustar00aksstaff000000 000000 Test 7: Using 3 columns in a total width of 45 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define lookup server exit put set get quit use help restore list save 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/8.ref000644 000765 000024 00000000642 12304431764 016310 0ustar00aksstaff000000 000000 Test 8: Using column width of 15 in a total width of 45 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define lookup server exit put set get quit use help restore list save 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/tests/9.ref000644 000765 000024 00000000471 12304431764 016311 0ustar00aksstaff000000 000000 Test 9: Using defaults with an indent of 1 12345678901234567890123456789012345678901234567890123456789012345678901234567890 define get list put restore server use exit help lookup quit save set 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Array-PrintCols-2.6/lib/Array/000755 000765 000024 00000000000 12304436512 016117 5ustar00aksstaff000000 000000 Array-PrintCols-2.6/lib/Array/PrintCols.pm000644 000765 000024 00000015771 12304432772 020411 0ustar00aksstaff000000 000000 # Array::PrintCols.pm # # Copyright (C) 1996-2014 Alan K. Stebbens # # 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 3 of the License, 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, see . # # Author: Alan K. Stebbens # package Array::PrintCols; $VERSION = '2.6'; require 5.001; use Exporter; @ISA = (Exporter); @EXPORT = qw( print_cols format_cols ); use Carp; sub min(@); sub max(@); $PreSorted = 1; # if set, do not need to sort # If users need to, they can set this variable externally: # # $Array::PrintCols::PreSorted = 0; # # # format_cols \@array [, $col_width [, $total_width [, $indent ] ] ] # # or # # format_cols \@array [, -$columns [, $total_width, [, $indent ] ] ] # # or # # format_cols \%hash [, -$columns [, $total_width, [, $indent ] ] ] # # # This used to be "print_cols", which always sent everything to STDOUT. # Now, the work is done in "format_cols", which returns a string result. # Thanks to Gisle Aas for the suggestion) # # Routine to format an array of values in alphabetically vertically # sorted columns. sub format_cols($;@) { my($array) = shift; $array = $$array if ref($array) eq 'REF'; $array = [sort(keys(%$array))] if ref($array) eq 'HASH'; ref($array) eq 'ARRAY' or croak "arg 1 must be an ARRAY, HASH, or ARRAYREF\n"; my($col_width) = shift || 0; my($total_width) = shift || $ENV{'COLUMNS'} || 80; my($indent) = shift || 0; my($key,$max_len,$cols,$fmt,$col,$rows,$row); my $o = ''; # start of the output # calculate the maximum item length $max_len = max (map length, @$array) + 1; # Calculate maximum possible # of columns $cols = max 1, int(($total_width - $indent) / $max_len); # Now adjust the $cols based on $col_width if ($col_width < 0) { # given as -$columns? if (-$col_width <= $cols) { # is the value possible? $cols = -$col_width; # yes, set # of columns } # calculate the new maximum column width $col_width = min $max_len, int(($total_width - $indent) / $cols); } elsif ($col_width >= 0) { # $col_width given? # get maximum of $max_len, $col_width $col_width = max $col_width, $max_len, 1; $cols = max 1, int(($total_width - $indent) / $col_width); } $rows = int(($#$array + $cols) / $cols); $fmt = sprintf("%%-%ds ",$col_width - 1); $array = [sort @$array] unless $PreSorted; # sort if necessary for ($row = 0; $row < $rows; $row++) { $o .= ' ' x $indent if $indent > 0; for ($col = $row; $col <= $#$array; $col += $rows) { $o .= sprintf $fmt,$array->[$col]; } $o .= "\n"; } $o; } # print_cols -- just print the results of format_cols. sub print_cols($;@) { my $aref = shift; print format_cols($aref,@_); } sub min(@) { my($min) = shift; local($_); foreach (@_) { $min = $_ if $min > $_; } $min; } sub max(@) { my($max) = shift; local($_); foreach (@_) { $max = $_ if $max < $_; } $max; } 1; __END__ =head1 NAME Array::PrintCols - Print or format array elements in vertically sorted columns. =head1 SYNOPSIS C C;> C, $I;> C, $I, $I;> C, $I, $I, $I;> \@I may also be an ARRAYREF, HASH, or HASHREF. $I = C >; C<$Array::PrintCols::PreSorted = 0;> =head1 DESCRIPTION This module exports two subroutine names: C and C. The C subroutine prints the items of C<@I> in multiple, alphabetically & vertically sorted columns. In the case of the first argument being a HASH or HASHREF, only the keys of the hash are considered. One, two, or three optional arguments may be given to C to control the width and number of the columns, the total width of the output, and indentation. Reasonable defaults apply in the absence of the optional arguments (or when given as the empty string or zero). Generally, the minimum width column is used when possible. If C<$I> is given as a non-negative number, it is treated as the minimum width of the column; the actual width will be the maximum of this value and the lengths of all array items. If C<$I> is given as a negative number, its absolute value value is used to determine the total number of columns. However, it cannot exceed the total number of columns possible based on the maximum length of all the array elements. If a third argument is supplied, it is used as the total width of the output. The default for this value is the value of the environment variable C<$ENV{'COLUMNS'}>, if defined, or 80. If the fourth argument is given, it is used as the indent for all lines printed, which subtracts from the total width of the output. This value defaults to zero (ie: no indention of the output). The variable C<$Array::PrintCols::PreSorted> controls whether or not the C subroutine will expect its array argument to already be sorted. If this variable is nil or zero, C will cause print out a sorted I of the input array. The routine C is called exactly like C but returns the formatted result as a string, rather than printing it. C actually invokes C, which does the real work. =head1 EXAMPLES use Array::PrintCols; @commands = sort qw( use list put get set quit help server ); # print in three columns with an indention of 1. print_cols \@commands, -3, 0, 1; # print the formatted result data to the result file print RESULTFILE format_cols(\@result_data); =head1 REPOSITORY L =head1 AUTHOR Copyright (C) 1996-2014 Alan K. Stebbens 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 3 of the License, 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, see . =head1 BUGS Perl will not default intervening empty arguments; instead, use zero or the empty-string ('').