logoalt Hacker News

isityettimetoday at 3:05 AM1 replyview on HN

All of this depends on your specific shell and its parser. Fish doesn't let you put redirections at the beginning like that (though I wish it did), while GNU Bash does.


Replies

ButlerianJihadtoday at 3:14 AM

fish is not POSIX-compatible, and not Bourne-compatible, so I don't see how that really matters at all. I used the rc shell from plan9 for quite a while, and I wouldn't expect its syntax rules to match, either!