From: Ken I. <fn...@ua...> - 2007-11-14 20:14:51
|
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. > Let me know if I need more details to make things make more sense. I don't know; it sounds simple enough as it is. ;-) Expect is useful if you need to send commands to a process to get it to send anything, more particularly if there's a need for automated interaction with the process. > > Cheers, > > Noah Good luck! Ken -- Ken Irving, fn...@ua... |