SCOUG-Programming Mailing List Archives
Return to [ 01 |
November |
1998 ]
>> Next Message >>
Content Type: text/plain
-----BEGIN PGP SIGNED MESSAGE-----
On Sat, 31 Oct 1998 17:28:43 PDT, Peter Skye wrote:
>Hi Greg,
>
>You can invoke the command processor CMD.EXE and give it a command file
>to execute (type HELP CMD at a command line prompt, and use the /C
>parameter). The command file can include any piping you want. Make
>sure "exit" is the very last command in the file.
Peter,
Your sample filter is almost exactly what I have already written. I
don't see what the difference is between:
c:\> bar | myfilter
and
c:\> cmd /c bar | myfilter
They both run bar.exe, take the output from it, then use that output as
input to myfilter.cmd. What I want to know is how I can write
myfilter.cmd so that the REXX .cmd file runs bar.exe, then takes the
output from that command for further processing. I suppose that I
could write a second command file myfilter2.cmd:
/* myfilter2.cmd to invoke bar and myfitler.cmd */
'bar | cmd /c myfilter.cmd'
exit
Seems like a crude hack to me.
===============================================================
Gregory W. Smith (WD9GAY) gsmith@well.com
finger gsmith@well.com for PGP public key
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNjyAJDtML4mvizAhAQFMKAP/YQfXXLxK3qb6hTFP2r/B7LWSZYXmivcI
dOBk1+Wh3/tD15KURbkDIfkrrI9nkl10xLAeCcazpVH+OQx1pHsYh82ho6vKHw2Y
jCS5nMazfruQrN39aAYKqmlPAnSoeK2gT7iEgj6kMhz10A8HUfdFzuxiyMbsjEum
CRhIZ7q3RWA=
=Nlde
-----END PGP SIGNATURE-----
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
>> Next Message >>
Return to [ 01 |
November |
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|