The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-28-2001
nauman nauman is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 3
Arrow Changing stdin from file redirection to console input

Hi

I am doing file redirection at console for use by my binary.

%console%> bin &lt inputfile

After reading in the entire file, I want my program to continue taking input from the console. So essentially I want to redirect stdin back to console. But I cant figure out how to do it.

I am using GNU compiler on Linux and Solaris. Can anyone help me in this regard.

Thanx
Nauman

Last edited by nauman; 09-28-2001 at 07:01 PM..