On Mon, 2005-02-28 at 23:36 -0700, Kevin wrote: > On Mon, 2005-02-28 at 23:09 -0700, Craig White wrote: > > and the stupid sucker is gagging on the "*" in the $infile - it has > > nothing to do with the conditionals whatsoever > > > > Evidently when it assigns the line "**** START OF ..." it actually tries > > to execute the first 4 files it finds in the directory - $#!% > > Yep, I see that too. If I remove the asterisks from my $infile it works > fine. Since I am on my third glass of wine, a horrible hack is starting > to sound good. ;-) Can you pass the $infile through sed first and swap > the asterisks with some other character? There must be a slicker way to > do this, but I'm out of creative fuel tonight. I'll try to poke at it > some more tomorrow. ---- I'm sorry - don't do that for my benefit - I've definitely worked entirely around it and I'm done with the project. I ended up using a keyword and putting in the "****" stuff on the second script. I had thought it made more sense doing it with the first script but that created havoc with the 'for i in `cat $infile`' as we now know. It is amazing how much can be done with a few lines of shell scripting and grep. Thanks Kevin and Kevin - I'd be happy to show you guys what I've been doing but it's rather arcane and it is somewhat a proof of concept at this point but it is for the horde project. I'm trying to take all of the user preferences and create a sort of 'automated' method of defaulting user preferences. They are somewhat protective of the code base and it makes it hard to get them to consider stuff unless it's like completely done and can be committed. Craig --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss