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 > Shell Programming and Scripting
.
google unix.com




Thread: redirect STDIN
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-03-2007
prkfriryce prkfriryce is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 44
redirect STDIN

can you redirect STDIN with command arguments?

I have tried this approach:

Code:
# ./script -option <argument1> <argument2> 0<$2 
# $2: ambiguous redirect
Is this possible?

Last edited by prkfriryce; 01-03-2007 at 05:37 PM..