The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
permanent redirection of standard input gfhgfnhhn Shell Programming and Scripting 6 11-01-2006 12:52 AM
Asking about shell script input output redirection trivektor Shell Programming and Scripting 1 10-17-2006 10:13 PM
question on redirection (<<) newkidintown Shell Programming and Scripting 2 05-03-2006 07:28 AM
Input Redirection majeed73 UNIX for Dummies Questions & Answers 6 07-08-2002 12:57 PM
Changing stdin from file redirection to console input nauman High Level Programming 4 09-29-2001 05:42 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2006
Registered User
 

Join Date: Aug 2006
Posts: 1
Stumble this Post!
input redirection question

Hi,

in my script I need to execute the following command:

query $id 456 432

but it waits for a RETURN character from keyboard and therefore, it fails. I tried something like:

query $id 456 432 << '\n'

but, i'ts clear it is not correct. Is there any way to do this?

Thxs.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0