[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Reading a txt file with tcl
You can use gets to get a line from the txt file then use various tcl
list/string commands to parse it.
On Tue, 23 May 2000, Karim El-Khazen (ERA) wrote:
> Date: Tue, 23 May 2000 11:17:54 +0200
> From: "Karim El-Khazen (ERA)" <[email protected]>
> To: Ns-mailing list <[email protected]>
> Subject: [ns] Reading a txt file with tcl
>
>
> Hi,
>
> I'm trying since two days to extract, using tcl, values from a txt file. How can I scan the file and detect a word I know in advance ?
>
> Thanks,
> Karim.
>
> _________________________________________________
>
> Karim C. El-Khazen Cell. +46.70.6270.537
> [email protected] http://www.elkhazen.com
>
> Master's Student in Electrical & Computer Engineering
> Georgia Institute of Technology, Atlanta, USA
>
> Ericsson Radio Systems AB, KI / ERA / LVT / I
> S-164 80 Stockholm SWEDEN
> _________________________________________________
>
>
>