grep -f problem
Yitzchok Good
anexpert@gmail.com
Mon Jul 16 14:50:00 GMT 2007
On CygWin:
$ echo -e "calvin\nhobbes">a
$ echo -e "calvin chased\nblah blah\nhobbes">b
$ grep -f a b
calvin chased
hobbes
#!sh
echo -e "calvin\nhobbes" > expressions.txt
echo -e "calvin chases\nhis favourite imaginary friend\nhobbes" > text.txt
grep -f expressions.txt text.txt
$ ./a.sh
calvin chases
hobbes
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list