From: Noah <ad...@en...> - 2007-11-14 20:41:06
|
Ken Irving wrote: > On Wed, Nov 14, 2007 at 02:01:28PM -0600, Noah wrote: >> Hi there, >> >> I have multi-line output that I am hoping to capture repetitive output >> and hoping to dump the collected matches to a data file. >> >> Is there an example of how to use perl expect module to do this? > >>From this description there's no need for expect; just pipe or otherwise > save the output into a file. no its an interactive with a CLI expect is required. plus I am not capturing all the output only matched regexp. cheers, Noah |