[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] What is going on here? Line with multiple < redirects
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] What is going on here? Line with multiple < redirects |
Date: |
Mon, 14 Dec 2015 13:55:36 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Dec 14, 2015 at 11:49:57AM -0600, Lane Schwartz wrote:
> Thanks, John. The question isn't really how to do this the right way - I
> know how to do that. The question is more how is bash processing this line?
It processes each redirection in order, left to right. Since they are
all stdin redirections ( < ) each subsequent one undoes the previous
one's effect.
There is no mystery here.