Well, yes, I understand the context and reason for 2>, doesn't mean it's the ideal from a usability standpoint. Fish is about being friendly, not standard. With that in mind ^ is nicer and better. These days, sysadmins are not the only ones using shells. I know designers who use it, and something like ^ is much more approachable and comprehendible without that extra context. That, imo, is what usable and intuitive software is about -- needing as little context as possible.
Bo On Wed, Dec 2, 2009 at 3:06 PM, Nathan de Vries <nat...@atnan.com> wrote: > On 02/12/2009, at 3:30 PM, Bodaniel Jeanes wrote: > > 2> is arbitrary to begin with and I know that at least I have > > trouble remembering the syntax at times. > > What do you mean by "arbitrary"? Everything is arbitrary if someone > designed how it works, it just depends on how much context you've got > with regards to the design decisions. > > In the case of C shell derivatives, the rules are pretty simple if you > know what a file descriptor is: > > command 1> file # redirect stdout to file > command > file # equivalent to above (fd 1 is default) > command 2> file # redirect stderr to file > command 1>&2> file # redirect stdout to stderr to file > command >&2> file # equivalent to above > command &> file # shorthand equivalent to above > > Once you factor in other C shell features related to redirection, it > all starts to look a lot less arbitrary than you suggest. > > > Cheers, > > Nathan > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to rails-ocea...@googlegroups.com. > To unsubscribe from this group, send email to > rails-oceania+unsubscr...@googlegroups.com<rails-oceania%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-ocea...@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.