PIPEOUT displays the contents of one or more files to STDOUT The files may be specified on the command line and may include wildcards, or the input list may piped from another application.
I use the PIPEOUT to pipe the contents of text files with long fileneames into the List utility. PIPEOUT *.txt List You can also pipe the list of files into PIPEOUT dir *.txt/b pipeout Since the output of PIPEOUT is sent to STDOUT, you can also redirect the output to another file.
PIPEOUT *.txt > file PIPEOUT will put insert the name of each file into the output so that you may identify where each file starts. The file name will be enclosed in dashes and angle brackets as shown below.
<------ pipeout.doc -------->
I have posted it on my web page and it is a free download.
http://www.cottagesoft.com/~dwhawk/pipe.zip
Don Hawkinson , author of CCA, DH-Grep-PM,
PMStripper, Pastry Box, and DH_ClipSave/2
http://www.cottagesoft.com/~dwhawk
Source: OS2VOICE