Thanks Andre but..... >find /home -path '*.doc' | $location=`awk --field-separator=/ '{print $3}'` nop..... I tried > find /home -path '*.doc' | ${location}=`awk --field-separator=/ '{print $3}'` not working as well both giving /usr/bin/filestohtml: line 16: =edouard: command not found though edouard being the value of $3.