#!/bin/bash for i in *.cfg; do sed -e "s/Tools /Boot BINARY\//" \ -e "s/X11 /Boot BINARY\//" \ -e "s/X11_2 /Boot BINARY\//" $i >$i.net done