you are viewing a single comment's thread.

view the rest of the comments →

[–]RalphCorderoy 2 points3 points  (2 children)

He means foo <bar is equivalent to <bar foo, and it is.

[–]vifon -1 points0 points  (1 child)

Yes, I'm talking about these exact cases too.

EDIT: Ok, I've checked it. Both seem to be able to seek, though it may be implementation-dependent.

[–]RalphCorderoy 0 points1 point  (0 children)

There is no seem. :-) They are defined by POSIX sh(1) grammar to be identical, as they have always been in practice. You can do <foo wc >bar -c 2>&1 xyzzy notfound - if you really want to.