

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

![[ Up ]](tube-up.gif)
![[Prev]](tube-prev.gif) ![[Home]](tube-home.gif) ![[Next]](tube-next.gif)
![[Author]](tube-author.gif) |
Unix ---> Terminal input in a shell script |
|
To input text from your terminal into a C shell script use the following
syntax:
while ( 1 )
set line = "$<"
if ( "$line" == "" ) break
...
end
Also, be advised that the C shell has no way of distinguishing between
a blank line and an end-of-file.
Please notify owners of webpages with outdated links to these pages
|
|
Find this site useful? Want to give something back?
© 1993-2001 Christopher C. Taylor
|