#!/bin/bash while read item1 do while read item2 do echo "$item1-$item2" done < list.txt done < list.txt