#!/bin/ksh #Output all 6 combinations, i.e., the Cartesian product. for party in Democratic Republican do for leaning in liberal moderate conservative do echo $party $leaning done done