in reply to Find partially matching line in file - print that line to another file
foo bar foobar
Update: Fortunately, others were able to get the gist. Clearly more caffeine is in order. I was wary of running through the entire pattern set of fileone for each line of filetwo without knowing how large your actual files are. Premature optimization...evil...etc.
In Section
Seekers of Perl Wisdom