Joerg Friedrich schrieb am Donnerstag, 17. Februar 2005 um 14:14:11 +0100: > Thilo Engelbracht schrieb am Donnerstag, 17. Februar 2005 um 14:05:43 +0100: > > if `grep -q "^Fazit:" name der datei`; then echo "enthalten"; else echo "nicht enthalten"; fi grep -q "^Fazit:" name der datei && echo "enthalten" || echo "nicht enthalten" sollte auch gehen -- Jörg Friedrich There are only 10 types of people: Those who understand binary and those who don't.