Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cat command in c shell

Status
Not open for further replies.

noiz

IS-IT--Management
Apr 19, 2001
17
US
I realize this is more of a c programers forum but few people seem to use the cshell so i hope some people here do. :)

When ever i try to use cat $file1 >> temp.file it errors out on me. Is their some syntax i need to use to run cat inside a script thanks.

zion

<><

=-)


 

Is the error something like
cat: cannot open temp.file ? If temp.file doesnt
exist then cat cant create it. So you need to do something
like,

touch temp.file
cat $file1 >> temp.file

or, if you dont mind overwriting temp.file's contents
cat $file1 > temp.file.

If you could post the code, I can be more clear :)

abo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top