#!/bin/sh # example how to use English and German fortunes together # fixes bug ENG=`ls /usr/share/games/fortunes/*.dat | sed "s/\.dat//g"` GER=`ls /usr/share/games/fortunes/de/*.dat | sed "s/\.dat//g"` fortune $@ $ENG $GER