From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Mar 1995 08:39:23 -0500 From: Amos Shapir amos@CS.HUJI.AC.IL Subject: An rc challenge Topicbox-Message-UUID: 083b99d4-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950327133923.VGRWqip0scuNpUvqA67q612p3v_YwHqEL3Ef8JhKu3s@z> How to do spliced pipes: cmd_a > file; cmd_b <{ cmd_c < file} <{ cmd_d < file } can also be done as: cmd_b <{ cmd_a | cmd_c} <{ cmd_a | cmd_d } But if "cmd_a" is heavy, how can this be done without running it twice, or using a temporary file? Alternatively, is there an easy way to do named pipes in rc? Thanks, Amos Shapir Net: amos@cs.huji.ac.il Paper: The Hebrew Univ. of Jerusalem, Dept. of Comp. Science. Givat-Ram, Jerusalem 91904, Israel Tel: +972 2 585706,586950 GEO: 35 11 46 E / 31 46 21 N