Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!brl-adm!adm!rbj@ICST-CMR.ARPA From: rbj@ICST-CMR.ARPA (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Stdio buffering question Message-ID: <16176@brl-adm.ARPA> Date: 15 Jun 88 17:25:32 GMT Sender: news@brl-adm.ARPA Lines: 25 ? From: Roy Smith ? gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: ? ? > I won't accuse [csh] of directing standard error output into pipes. ? > Indeed I think you'd have to work fairly hard to get it to do so. ? ? Depends on what you call "fairly hard"; "foo |& bar" does the trick. Gee, Doug, RTFM! The 4.2 manual gives the example: (command > stdout) >& stderr; for some reason it was dropped in the 4.3 manual. The same should work for pipes as well: (cmd1 > stdout) |& cmd2. Maybe you should *use* something before you put it down. ? Roy Smith, System Administrator ? Public Health Research Institute ? 455 First Avenue, New York, NY 10016 ? {allegra,philabs,cmcl2,rutgers}!phri!roy -or- phri!roy@uunet.uu.net (Root Boy) Jim Cottrell National Bureau of Standards Flamer's Hotline: (301) 975-5688 The opinions expressed are solely my own and do not reflect NBS policy or agreement My name is in /usr/dict/words. Is yours?