Micha,

Try JUXTAPOSE for this.
'pipe (end \)'                  ,
   '\ cms list xxx* * a'        ,
   '| o: FANOUT'                ,
   '| Spec 1-* 1.22'            ,
   '| j: JUXTAPOSE'             ,
   '| > output tst a'           ,
   '\ o:'                       ,
   '| getf'                     ,
   '| locate' /111/'            ,
   '| j:'


Greetings, Tom Principaal

http://www.ibm.com/support/nl/

e-mail: [EMAIL PROTECTED] >>> or [EMAIL PROTECTED] for problem
doc's<<<
IBM Software Support , J. Huizingalaan 765, 1066 VH  Amsterdam, the
Netherlands
tel: +31(0)20-513-8381, mobile: +31(0)653-387-141




  From:       Michal Fisher <[EMAIL PROTECTED]>

  To:         [EMAIL PROTECTED]

  Date:       2007-09-26 08:18

  Subject:    File scan






I'm trying to find a way to scan a list of files for some text,  and get
a list of file names + texts found at one go.

I'd like to do something like : 'pipe cms list xxx* * a | getf | locate
/111/ | > output tst a'

BUT - have the filename precede each line found.

Does anyone have a suggestion ?



Thanks,

Micha Fisher,

Hilan-Tech.

Reply via email to