Re: rpm check script problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:29 AM +0100 10/10/06, Dan Track wrote:
 ...
>I'm a little bit confused it seems as though some people are saying that
>exec 9<&0 < $filename  means that the rest of the script will be
>dealing with fd9, but other people are saying that I will be dealing
>with fd0 throughout the script. Which ones right?

Both.  After 9<&0, both fd9 and fd0 are the same thing.  You most likely
want 9<$filename so that fd9 has the file and fd0 (stdin) is left alone.
-- 
____________________________________________________________________
TonyN.:'    The Great Writ     <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '      is no more.             <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux