#!/bin/sh $lista=`find -name “*.jpg”`; for i in $lista; do j=`echo $i | sed -e s:jpg:jpeg:g'`;mv $i $j; done E: sh test test: line 2: =: command not found test: line 4: unexpected EOF while looking for matching `'' test: line 6: syntax error: unexpected end of file