Hi! One more tip: locate string1 | grep -i "string2" You'll got only lines containing both string1 and string2. -- Mr. Ari Moisio, Niittykatu 5, 41160 Tikkakoski gsm: +358-40-5055239, icq: 164241561