- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello I'm novice in the use of the tcl script.
does anyone know how can I capture on a txt file the output coming from the schell following the script?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- hello I'm novice in the use of the tcl script. does anyone know how can I capture on a txt file the output coming from the schell following the script? --- Quote End --- I don't see how this has anything to do with a Tcl script. It sounds like what you want is to capture the output from a program, that just happens to accept a Tcl script on the command line. In that case, just use the shell: For example, here's a program that generates output:
dwh@kiwi ~
$ quartus_stp
Quartus II SignalTap II
Version 9.0 Build 184 04/29/2009 Service Pack 1 SJ Web Edition
Copyright (C) 1991-2009 Altera Corporation
Usage:
------
quartus_stp | -v]
quartus_stp <project name>
quartus_stp -t <script file>
quartus_stp -s
quartus_stp --tcl_eval <tcl command>
and here's that output redirected to a file
dwh@kiwi ~
$ quartus_stp > tmp.txt
Cheers, Dave
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page