![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing all combinations : Awk | jkl_jkl | Shell Programming and Scripting | 7 | 05-28-2008 12:17 PM |
| All Shortcut key combinations | --crimson-- | UNIX for Advanced & Expert Users | 0 | 07-10-2006 03:20 AM |
| Combinations | Khoomfire | UNIX for Advanced & Expert Users | 4 | 06-06-2006 06:32 AM |
| Grepping number combinations | wperry | Shell Programming and Scripting | 2 | 12-15-2005 01:22 PM |
| Awk execution with more combinations.. | mitte_dino | Shell Programming and Scripting | 1 | 09-28-2005 01:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Generating Combinations
Hi,
I need to generate all combinations upto n-1 level, if the input file looks like say, A B C D . . .... I need to generate all combinations such that first value remains constant and the remaning are combined with all possible ways. Output A AB AC AD ABC ABD ACD ABCD ........ The input file can contain maximum of 40 values. so the combinations could be extremely high. Any suggestions atleast how to approach generating the combinations would be helpful. Thanks in advance!!! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|