Date: Fri, 21 Jan 2005 00:04:18 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 508 ************************************************** Thursday 20 January 2005 Number 508 ************************************************** Subjects for today 1 Re: sed script to initialise variables : Stefan.Neis at t-online.de 2 emxkill.exe : John Poltorak 3 Re: emxkill.exe : Dave Yeo" 4 Re: Bridge software : Steve Wendt 5 START from shell script : John Poltorak **= Email 1 ==========================** Date: Wed, 19 Jan 2005 14:52:16 +0100 From: Stefan.Neis at t-online.de Subject: Re: sed script to initialise variables Hi, > That would mean reading the whole of 'myfile' twice just to extract data > from the second and third lines. I think sed is a bit more clever than that (and stops reading after the second/third line, respectively). > I was looking for a simpler way of doing it. Unless you're doing that dozens of times or for hundreds of variables, rather keep it simple for the reader than for the computer... ;-) > As far as the export goes, I've never really been sure when that was > necessary. If you want it to be useable by programs called from your shell script, you need to export the variable, if you use it inside the script itself _only_, no export is needed. E.g. 'set PATH=...; program' will only modify the search path for program, anything called by program (e.g. via "system", "spawn" or "exec") will be searched according to be "normal" search path, while 'set PATH=....; export PATH; program' will also modify the search path that's used for anything called from within program. Regards, Stefan **= Email 2 ==========================** Date: Wed, 19 Jan 2005 16:15:24 +0000 From: John Poltorak Subject: emxkill.exe Does anyone know where I can find emxkill.exe? There may be more than one program with that name, but I'm looking for the one mentioned in BIND 8.2.4 which attributes it to Garey Smiley. -- John **= Email 3 ==========================** Date: Wed, 19 Jan 2005 09:22:34 -0800 From: "Dave Yeo" Subject: Re: emxkill.exe On Wed, 19 Jan 2005 16:15:24 +0000, John Poltorak wrote: > >Does anyone know where I can find emxkill.exe? There may be more than one >program with that name, but I'm looking for the one mentioned in BIND >8.2.4 which attributes it to Garey Smiley. Its in the bin directory of the binary dist of bind-8.2.4-OS2 which IRCC I found on Hobbes Dave **= Email 4 ==========================** Date: Wed, 19 Jan 2005 11:34:29 -0800 (PST) From: Steve Wendt Subject: Re: Bridge software On Tue, 18 Jan 2005, Steven Levine wrote: >>> Oh I finally understand your point. I was a bit slow on the uptake. This >>> is true, but I see it as an interim problem. There's not much that can be >>> done about it while the kernels are undergoing rapid development. > >> But it will *always* be in that state. > > I prefer to believe that backwards compatibility will become more > important over time. That would be quite welcome, but I believe the core Linux developers have no intention of doing that. In fact, quite the opposite... **= Email 5 ==========================** Date: Thu, 20 Jan 2005 11:30:20 +0000 From: John Poltorak Subject: START from shell script Is it possible to start a new session from with a shell script? sh.exe doesn't understand the START command. -- John