printf " Search by from:...\t\t\t\t" add_message '[subject]="search by from"' '[date]="Sat, 01 Jan 2000 12:00:00 -0000"' [from]=searchbyfrom output=$($NOTMUCH search from:searchbyfrom | notmuch_search_sanitize) pass_if_equal "$output" "thread:XXX 2000-01-01 [1/1] searchbyfrom; search by from (inbox unread)"