jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Re: (hints for parsing?)


On Thu, 30 Jan 2003 09:33:18 +0100 wrote Morten Bo Johansen <mojo@xxxxxxxx>:

> I am using the function that follows below to open files 
> in a window where the filename is taken from lines like this:
> 
>   #: auth/pam.c:154 auth/sql.c:410 auth/sql.c:412

I'd recoment 

variable filearray = strchop(files, ' ', 0);

(see online help) to transfer the string into an array of strings. Then you
can use

variable source_file;
foreach (filearray)
{
  source_file = ();
  view_source(sourcefile);
} 

... probabely with some modifications to view_source :-)

Günter   


--
Milde at ife.et.tu-dresden.de


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]