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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCL

Status
Not open for further replies.

naxx

Programmer
Mar 16, 2011
2
US
need a script in TCL to extract specific data from a file
 
Hi

[ul]
[li]Use meaningful subject.[/li]
[li]Write complete description of the problem.[/li]
[li]Show your existing code.[/li]
[li]Post exact input data. ( No, linking to a rival site from where your post will be probably removed, is not enough. )[/li]
[li]Specify the desired output for the given input data.[/li]
[/ul]


Feherke.
 
$ ######################## $ some comments $ some comments
$ ########################
$ ########################
$ some data $ some data
$ ########################
$ CELL: in00nnx03 //needs to be extracted
$$.INPUT a vcc // needs to be extracted
$$.OUTPUT o // needs to be extracted $$.IOPUT // needs to be extracted
$$ $$.DIC 0 2 0 // needs to be extracted
$$ $$.DICEND // needs to be extracted
Mg1.qna o a vss vss n 0.36 0.03 //needs to be extracted Mg1.qpa o a vcc vcc p 0.36 0.03 // needs to be extracted $$.EOM


How am i should extract the needed values from this trext file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top