GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CROSS(1) User Contributed Perl Documentation CROSS(1)

cross - output the cross product of two or more sets

        cross [-g gluestring] "item,item,item" "item,item,item" ...

        prompt> cross "a,b,c" "1,2,3"
        a 1
        a 2
        a 3
        b 1
        ...

        prompt> cross "a,b,c" "1,2,3" "x,y,z"
        a 1 x
        a 1 y
        a 1 z
        a 2 x
        ...

        # specify your own separator with -g
        prompt> cross -g="," "a,b,c" "1,2,3"
        a,1
        a,2

This is part of the Perl module "Set::CrossProduct".

This source is in Github:

        http://github.com/briandfoy/Set-CrossProduct

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.

brian d foy, "<bdfoy@cpan.org>"

Copyright © 2007-2015, brian d foy <bdfoy@cpan.org>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2021-02-03 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.