![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| let curl output to stdout AND save to a file | scarfake | Shell Programming and Scripting | 3 | 05-31-2008 01:16 PM |
| terminal output - save to file? | frustrated1 | SUN Solaris | 2 | 11-15-2005 06:19 AM |
| save | swainaina | Shell Programming and Scripting | 2 | 03-01-2005 04:07 PM |
| save me! | hufs375 | Shell Programming and Scripting | 2 | 05-27-2002 06:03 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Save TCL Procedure Output
Hello Friend,
In TCL i wrote a procedure as power, accepting two arguments and it was saved as a file named TCLProc.tcl. Now from unix, using shell script i want to run this procedure power,the output of this procedure should be saved in a text file.How can i do this.Please help me as early as possible.It is very urgent for me. If possible please provide sample code. Thankyou. Last edited by gjsaravanan; 08-23-2005 at 10:50 PM. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Save TCL Procedure Output
Hi
vim sample.tcl /usr/bin/tclsh proc power { a b } { puts "$a --- $b" } close the program from the command prompt $path/wish sample.tcl 5 6 >> output.txt hope u got it Regards, Sanju. |
|||
| Google The UNIX and Linux Forums |