![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to read a file using shell ?? | ranga27 | Shell Programming and Scripting | 7 | 09-18-2007 10:25 AM |
| Post Shell programming: Question about source a file and read data from the file | ccwq | Shell Programming and Scripting | 3 | 08-04-2007 07:28 PM |
| Read words from file and create new file using K-shell. | bsrajirs | Shell Programming and Scripting | 4 | 06-01-2007 09:15 AM |
| Read variable from file in a C shell script | haouesse | Shell Programming and Scripting | 2 | 11-07-2006 06:34 AM |
| Read file - korn shell | alienET | Shell Programming and Scripting | 5 | 04-06-2005 11:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to read from a file in C shell?
Hi All,
I want to read some number from a file into a variable in C shell as follows. I know that the syntax in ksh is read x < file name I dont know what's the equivalent for this in C Shell Can some one pls. help me out? Thanks in advance raju |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Isn't it the same? I was under the impression that the read statement didn't differ from any of the various shells.
|