On Mon, 26 Sep 2011 13:47:58 +0000 Bjartur Thorlacius <svartma...@gmail.com> wrote:
> >> rc's redirection syntax is remarkably clean and powerful, but it > >> shouldn't be very hard to hack "2>&1" support in there if you don't want > >> to use ">[2=1]". > > > > Actually I find rc's way less annoying than bash's but there's a sort > > of inconsistancy between > and | which might be there for a good reason > > but which keeps surprising me. > > > > > Care to elaborate? Okay. I'm a bit brain-dead this week but if I remember right: This puts stdout and stderr in the same place: $ foo 2>&1 | bar This puts them in different places: $ foo 2>&1 > file Similar for rc.