Path: utzoo!attcan!uunet!mcsun!unido!gmdzi!wittig From: wittig@gmdzi.gmd.de (Georg Wittig) Newsgroups: comp.unix.shell Subject: execute stdin ? Message-ID: <3335@gmdzi.gmd.de> Date: 13 Sep 90 12:46:26 GMT Distribution: comp Organization: GMD - The German National Research Center for Computer Science Lines: 18 Is it possible (in sh or in csh) to execute a program that is read from stdin? For example, if the program ``myprog'' is in compressed format, it isn't nice to type uncompress myprog.Z ; myprog params_of_myprog ; compress myprog Rather, it would be nice to be able to write something like zcat myprog.Z | execute_stdin params_of_myprog or `zcat myprog.Z` params_of_myprog or ??? Any ideas? Thanks in advance -- Georg Wittig GMD-Z1.IT | wittig@gmdzi.gmd.de | "Freedom's just another word P.O. Box 1240 | wittig@zi.gmd.dbp.de | for nothing left to lose" D-5205 St. Augustin 1 | | (Kris Kristofferson) West Germany | (+49) 2241 14-2294 |