#!/bin/sh ###################################################### # # Test pick -search switch # ###################################################### . "$MH_TEST_COMMON" # Test MIME-encoded header. cat > $(mhpath b) < To: Some User Date: Fri, 29 Sep 2006 00:00:00 Message-Id: 13@test.nmh Subject: fooo This is a test message ! lm=$(pick l) runandcheck 'pick -search fooo' </dev/null pick: no messages match specification 0 ! cat > $(mhpath b) < To: Some User Date: Fri, 29 Sep 2006 00:00:00 Subject: bla This is a test message, with fooo in the body. ! lm=$(pick l) runandcheck 'pick -search fooo' <