#!/bin/bash
n=(Mario Arthas Clark Link Gordon)
p=(LL L M R RR)
e=(Suppe Pommes Knoblauchbrot Bruschetta Salat)
g=(Sprite Energydrink Fanta Cola Selters)
o=(Frankfurt Muenchen Berlin Koeln Hamburg)
a=(Autogramm Comic T-Shirt Lichtschwert Actionfigur)
for ln in ${n[@]}; do
for lp in ${p[@]}; do
for le in ${e[@]}; do
for lg in ${g[@]}; do
for lo in ${o[@]}; do
for la in ${a[@]}; do
if [ $ln == "Mario" -a $lp != "LL" ]; then continue; fi
if [ $ln != "Mario" -a $lp == "LL" ]; then continue; fi
if [ $ln == "Gordon" -a $le != "Bruschetta" ]; then continue; fi
if [ $ln != "Gordon" -a $le == "Bruschetta" ]; then continue; fi
if [ $ln == "Clark" -a $la != "Actionfigur" ]; then continue; fi
if [ $ln != "Clark" -a $la == "Actionfigur" ]; then continue; fi
if [ $ln == "Arthas" -a $lo != "Koeln" ]; then continue; fi
if [ $ln != "Arthas" -a $lo == "Koeln" ]; then continue; fi
if [ $ln == "Link" -a $lg != "Fanta" ]; then continue; fi
if [ $ln != "Link" -a $lg == "Fanta" ]; then continue; fi
if [ $lp == "L" -a $le != "Suppe" ]; then continue; fi
if [ $lp != "L" -a $le == "Suppe" ]; then continue; fi
if [ $le == "Knoblauchbrot" -a $lg != "Selters" ]; then continue; fi
if [ $le != "Knoblauchbrot" -a $lg == "Selters" ]; then continue; fi
if [ $lo == "Frankfurt" -a $lg != "Energydrink" ]; then continue; fi
if [ $lo != "Frankfurt" -a $lg == "Energydrink" ]; then continue; fi
if [ $lp == "M" -a $lg != "Sprite" ]; then continue; fi
if [ $lp != "M" -a $lg == "Sprite" ]; then continue; fi
if [ $lo == "Hamburg" -a $la != "Autogramm" ]; then continue; fi
if [ $lo != "Hamburg" -a $la == "Autogramm" ]; then continue; fi
if [ $le == "Pommes" -a $lo != "Muenchen" ]; then continue; fi
if [ $le != "Pommes" -a $lo == "Muenchen" ]; then continue; fi
if [ $lp == "R" -a $le != "Knoblauchbrot" ]; then continue; fi
if [ $lp != "R" -a $le == "Knoblauchbrot" ]; then continue; fi
if [ $lp == "RR" -a $le != "Salat" ]; then continue; fi
if [ $lp != "RR" -a $le == "Salat" ]; then continue; fi
if [ $lo == "Muenchen" -a $la == "Lichtschwert" ]; then continue; fi
if [ $la == "Lichtschwert" -a ! \( $lp == "L" -o $lp == "R" \) ]; then continue; fi
if [ $la == "T-Shirt" -a $lo = "Berlin" ]; then continue; fi
if [ $lo == "Berlin" -a $lg == "Cola" ]; then continue; fi
if [ $lo == "Berlin" -a $lp == "RR" ]; then continue; fi
if [ $lo == "Frankfurt" -a $lp == "RR" ]; then continue; fi
if [ $ln == "Clark" -a \( $lp != "L" -o $le != "Suppe" -o $lg != "Energydrink" -o $lo != "Frankfurt" -o $la != "Actionfigur" \) ]; then continue; fi
if [ $lp == "L" -a \( $ln != "Clark" -o $le != "Suppe" -o $lg != "Energydrink" -o $lo != "Frankfurt" -o $la != "Actionfigur" \) ]; then continue; fi
if [ $le == "Suppe" -a \( $ln != "Clark" -o $lp != "L" -o $lg != "Energydrink" -o $lo != "Frankfurt" -o $la != "Actionfigur" \) ]; then continue; fi
if [ $lg == "Energydrink" -a \( $ln != "Clark" -o $lp != "L" -o $le != "Suppe" -o $lo != "Frankfurt" -o $la != "Actionfigur" \) ]; then continue; fi
if [ $lo == "Frankfurt" -a \( $ln != "Clark" -o $lp != "L" -o $le != "Suppe" -o $lg != "Energydrink" -o $la != "Actionfigur" \) ]; then continue; fi
if [ $la == "Actionfigur" -a \( $ln != "Clark" -o $lp != "L" -o $le != "Suppe" -o $lg != "Energydrink" -o $lo != "Frankfurt" \) ]; then continue; fi
echo $ln -- $lp -- $le -- $lg -- $lo -- $la
done
done
done
done
done
done
Add a code snippet to your website: www.paste.org