From tbcatwork at yahoo.com Wed Sep 5 10:07:42 2001 From: tbcatwork at yahoo.com (Tim Chambers) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW Message-ID: <004b01c1361c$83e39980$80441d82@cos.agilent.com> The September Pikes Peak Perl Mongers lunch will be tomorrow (Thursday, September 5) at 11:30 a.m. I plan to be there, but where? :-) We haven't done a downtown gig in a while. Here are some ideas: * Saigon Cafe, 20 E Colorado Ave, 633-2888 * Little Bangkok Thai Restaurant, 109 E Pikes Peak Ave, 442-6546 * Nepal Restaurant, 28 E Bijou St, 473-3890 Garden of the Gods ideas: * King Taco, Mark Dabling & GoG, 593-1100 (cheap, fast, & tasty) * County Line, 3350 N Chestnut St, 578-1940 (barbecue) Any preferences? Tim Chambers ><> Founder, Pikes Peak Perl Mongers http://pikes-peak.pm.org/ 719.590.5570 (w) 719.651.0116 (cell) From AKalaveshi at mindport.com Wed Sep 5 10:17:30 2001 From: AKalaveshi at mindport.com (Adrian Kalaveshi) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW Message-ID: <3EB64EE89468D51193C20090272AB7F5C85EC5@us04nt236.noochee.com> Any of those work for me. This will be the last PPPM that I'll be able to attend. I've accepted a job in California and will be moving next week. I'll see you all tomorrow -- wherever it's decided. -adrian- -----Original Message----- From: Tim Chambers [mailto:tbcatwork@yahoo.com] Sent: Wednesday, September 05, 2001 9:08 AM To: Pikes Peak Perl Mongers Subject: PPPM lunch TOMORROW The September Pikes Peak Perl Mongers lunch will be tomorrow (Thursday, September 5) at 11:30 a.m. I plan to be there, but where? :-) We haven't done a downtown gig in a while. Here are some ideas: * Saigon Cafe, 20 E Colorado Ave, 633-2888 * Little Bangkok Thai Restaurant, 109 E Pikes Peak Ave, 442-6546 * Nepal Restaurant, 28 E Bijou St, 473-3890 Garden of the Gods ideas: * King Taco, Mark Dabling & GoG, 593-1100 (cheap, fast, & tasty) * County Line, 3350 N Chestnut St, 578-1940 (barbecue) Any preferences? Tim Chambers ><> Founder, Pikes Peak Perl Mongers http://pikes-peak.pm.org/ 719.590.5570 (w) 719.651.0116 (cell) From evansj at kilnar.com Wed Sep 5 12:08:41 2001 From: evansj at kilnar.com (John Evans) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW In-Reply-To: <004b01c1361c$83e39980$80441d82@cos.agilent.com> Message-ID: On Wed, 5 Sep 2001, Tim Chambers wrote: > The September Pikes Peak Perl Mongers lunch will be tomorrow (Thursday, > September 5) at 11:30 a.m. > > I plan to be there, but where? :-) > > We haven't done a downtown gig in a while. Here are some ideas: > > * Saigon Cafe, 20 E Colorado Ave, 633-2888 > * Little Bangkok Thai Restaurant, 109 E Pikes Peak Ave, 442-6546 > * Nepal Restaurant, 28 E Bijou St, 473-3890 Downtown works for me. Where downtown? Doesn't really matter, I guess. -- John Evans http://evansj.kilnar.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ ------END GEEK CODE BLOCK------ From aksuska at webflyer.com Wed Sep 5 12:31:45 2001 From: aksuska at webflyer.com (Keary Suska) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW In-Reply-To: Message-ID: Downtown is best for me. I can vouch for any of those choices, although I lean towards Nepali ;-) There are also good and less exotic dining choices downtown, and I am familiar with most of them, if anyone is daunted by Asian cuisine. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" > From: John Evans > Date: Wed, 5 Sep 2001 13:08:41 -0400 (EDT) > To: Pikes Peak Perl Mongers > Subject: Re: PPPM lunch TOMORROW > > On Wed, 5 Sep 2001, Tim Chambers wrote: > >> The September Pikes Peak Perl Mongers lunch will be tomorrow (Thursday, >> September 5) at 11:30 a.m. >> >> I plan to be there, but where? :-) >> >> We haven't done a downtown gig in a while. Here are some ideas: >> >> * Saigon Cafe, 20 E Colorado Ave, 633-2888 >> * Little Bangkok Thai Restaurant, 109 E Pikes Peak Ave, 442-6546 >> * Nepal Restaurant, 28 E Bijou St, 473-3890 > > Downtown works for me. Where downtown? Doesn't really matter, I guess. > > -- > John Evans > http://evansj.kilnar.com/ > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ > E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) > R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ > ------END GEEK CODE BLOCK------ > > From evansj at kilnar.com Wed Sep 5 12:47:17 2001 From: evansj at kilnar.com (John Evans) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW In-Reply-To: Message-ID: On Wed, 5 Sep 2001, Keary Suska wrote: > Downtown is best for me. I can vouch for any of those choices, although I > lean towards Nepali ;-) > > There are also good and less exotic dining choices downtown, and I am > familiar with most of them, if anyone is daunted by Asian cuisine. > Now that you mention it... most Asian food gives me stomach problems, so doing less exotic foods would be better for me. If we could find a place that serves the fancy stuff for you guys and something simple like a hamburger for me, that would be good. -- John Evans http://evansj.kilnar.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ ------END GEEK CODE BLOCK------ From aksuska at webflyer.com Wed Sep 5 13:20:20 2001 From: aksuska at webflyer.com (Keary Suska) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch TOMORROW In-Reply-To: Message-ID: The Mediterranean Cafe makes an excellent baba ganoush. That's Near eastern, so perhaps that's an acceptable compromise? They don't serve burgers, but the souvlaki (like a kebab) could be like a burger except different condiments and a pita instead of a bun ;-) There are a couple good delis, Jack Quinn's makes a good boxty I hear (although I am partial to the apple smoked pork loin) but it can get loud. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" > From: John Evans > Date: Wed, 5 Sep 2001 13:47:17 -0400 (EDT) > To: Keary Suska > Cc: Pikes Peak Perl Mongers > Subject: Re: PPPM lunch TOMORROW > > On Wed, 5 Sep 2001, Keary Suska wrote: > >> Downtown is best for me. I can vouch for any of those choices, although I >> lean towards Nepali ;-) >> >> There are also good and less exotic dining choices downtown, and I am >> familiar with most of them, if anyone is daunted by Asian cuisine. >> > > Now that you mention it... most Asian food gives me stomach problems, so > doing less exotic foods would be better for me. If we could find a place > that serves the fancy stuff for you guys and something simple like a > hamburger for me, that would be good. > > -- > John Evans > http://evansj.kilnar.com/ > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ > E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) > R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ > ------END GEEK CODE BLOCK------ > > From tbcatwork at yahoo.com Wed Sep 5 17:50:17 2001 From: tbcatwork at yahoo.com (Tim Chambers) Date: Thu Aug 5 00:18:02 2004 Subject: final plan for PPPM lunch TOMORROW References: Message-ID: <00bc01c1365d$2306ef40$80441d82@cos.agilent.com> Keary wrote: > There are a couple good delis, Jack Quinn's makes a good boxty I hear... This suggestion seems to be the best compromise, given the comments made so far. So here's the plan: WHAT: Pikes Peak Perl Mongers monthly lunch WHEN: (tomorrow) Thursday, September 6th, 11:30 a.m. - 12:30 p.m. WHERE: Jack Quinn's, 21 S Tejon St, 385-0766 Hope to see you all there. BTW, FWIW, we now have a total of 36 members on this list. (37 addresses -- I'm subscribed twice: tbcatwork@yahoo.com and tbchambers@yahoo.com). <>< Tim 719.590.5570 (w) 719.651.0116 (cell) P.S. I'm especially looking forward to seeing SteveS, Adrian, and Nelson tomorrow. Hope you guys can make it. From tbcatwork at yahoo.com Thu Sep 6 10:44:48 2001 From: tbcatwork at yahoo.com (Tim Chambers) Date: Thu Aug 5 00:18:02 2004 Subject: REMINDER: Perl luncht today Message-ID: <000901c136ea$dddd4e80$80441d82@cos.agilent.com> WHAT: Pikes Peak Perl Mongers monthly lunch WHEN: (TODAY) Thursday, September 6th, 11:30 a.m. - 12:30 p.m. WHERE: Jack Quinn's, 21 S Tejon St, 385-0766 <>< Tim 719.590.5570 (w) 719.651.0116 (cell) From evansj at kilnar.com Thu Sep 6 13:03:06 2001 From: evansj at kilnar.com (John Evans) Date: Thu Aug 5 00:18:02 2004 Subject: final plan for PPPM lunch TOMORROW In-Reply-To: <00bc01c1365d$2306ef40$80441d82@cos.agilent.com> Message-ID: On Wed, 5 Sep 2001, Tim Chambers wrote: > WHAT: Pikes Peak Perl Mongers monthly lunch > WHEN: (tomorrow) Thursday, September 6th, 11:30 a.m. - 12:30 p.m. > WHERE: Jack Quinn's, 21 S Tejon St, 385-0766 Sorry I didn't make it today... We had layoffs yesterday (50-60 people) and an impromptu all hands meeting today that started just before 10 and lasted until Noon. Adrian... Didn't get a chance to see you at Jack Quinn's, so I'll have to say farewell and good luck here. -- John Evans http://evansj.kilnar.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ ------END GEEK CODE BLOCK------ From matt.long at matthew-long.com Thu Sep 6 14:23:26 2001 From: matt.long at matthew-long.com (Matthew J Long) Date: Thu Aug 5 00:18:02 2004 Subject: PPPM lunch topics References: Message-ID: <000501c13709$68c9bf10$1f01a8c0@ebiztech.com> Today's discussion at lunch brought up a few topics that Robert Cringely has addressed recently. Very interesting stuff. http://www.pbs.org/cringely/pulpit/pulpit20010802.html - "The Death of TCP/IP - Why the Age of Internet Innocence is Over" http://www.pbs.org/cringely/pulpit/pulpit20010816.html - "Making Lemonade - How Microsoft Is Using Its Own Legal Defeat to Hurt Java" http://www.pbs.org/cringely/pulpit/pulpit20010906.html - "Resetting the Shot Clock - Why Hewlett Packard Buying Compaq is a Very Bad Idea, But Will Happen Anyway" Enjoy! -Matt From AKalaveshi at mindport.com Thu Sep 6 14:14:02 2001 From: AKalaveshi at mindport.com (Adrian Kalaveshi) Date: Thu Aug 5 00:18:02 2004 Subject: final plan for PPPM lunch TOMORROW Message-ID: <3EB64EE89468D51193C20090272AB7F5C85ED5@us04nt236.noochee.com> Thanks! Good luck to you too (it seems that we all might need a bit of luck as we enter the vortex of this recession). Below is some permanent contact information for me. I hope to keep in contact with all of you. e-mail: veshi@softhome.net AIM: AdrianKalaveshi MSN: veshi@hotmail.com Like I said at lunch, I'll be sure to keep you abreast of happenings in Northern California and brag every now and then about how much cooler the bay area perl mongers group is. ;) -adrian- > -----Original Message----- > From: John Evans [mailto:evansj@kilnar.com] > Sent: Thursday, September 06, 2001 12:03 PM > To: Pikes Peak Perl Mongers > Subject: Re: final plan for PPPM lunch TOMORROW > > > On Wed, 5 Sep 2001, Tim Chambers wrote: > > > WHAT: Pikes Peak Perl Mongers monthly lunch > > WHEN: (tomorrow) Thursday, September 6th, 11:30 a.m. - 12:30 p.m. > > WHERE: Jack Quinn's, 21 S Tejon St, 385-0766 > > Sorry I didn't make it today... We had layoffs yesterday > (50-60 people) > and an impromptu all hands meeting today that started just before 10 > and lasted until Noon. > > Adrian... Didn't get a chance to see you at Jack Quinn's, so > I'll have to > say farewell and good luck here. > > -- > John Evans > http://evansj.kilnar.com/ > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ > E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) > R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ > ------END GEEK CODE BLOCK------ > From Robert.L.Harris at rdlg.net Mon Sep 10 16:21:23 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Thu Aug 5 00:18:03 2004 Subject: perl -> ssh? Message-ID: <20010910152123.E29648@rdlg.net> I'm working on a script and in the pre-planning process hit some walls. I can do a "ssh $host cat /etc/hosts" and read the input into an array. I then want to modify the array and write /etc/hosts back out on $host. What's a good way to do this? print @Array `ssh host > /etc/hosts` doesn't seem a good idea or to work for that matter. Thoughts? :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From evansj at kilnar.com Mon Sep 10 18:01:31 2001 From: evansj at kilnar.com (John Evans) Date: Thu Aug 5 00:18:03 2004 Subject: perl -> ssh? In-Reply-To: <20010910152123.E29648@rdlg.net> Message-ID: On Mon, 10 Sep 2001, Robert L. Harris wrote: > I'm working on a script and in the pre-planning process hit some walls. > I can do a "ssh $host cat /etc/hosts" and read the input into an array. I > then want to modify the array and write /etc/hosts back out on $host. > > What's a good way to do this? > > print @Array `ssh host > /etc/hosts` doesn't seem a good idea or to work > for that matter. If you have ssh, then you most likely have scp as well. I would read the file, make your changes, save file to a temp spot (in a place other than /tmp) and then scp the file to the server. Make sure that the tmp file that you create is NOT world writeable. If it is, then you end up with a nasty race condition: 1) You write file. 2) Hacker makes changes to file (or copies his own file in place) 3) You scp the file out to the server. 4) Hacker now has what he wants on the server. Granted, modifying the hosts file is not the most dasterdly thing that a hacker can do, but it's definately not a good thing since they can change your loghost and start stealing your logs, which they can then use that ability to cover their tracks for future hack attempts. -- John Evans http://evansj.kilnar.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ ------END GEEK CODE BLOCK------ From Robert.L.Harris at rdlg.net Mon Sep 10 18:09:27 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Thu Aug 5 00:18:03 2004 Subject: perl -> ssh? In-Reply-To: ; from evansj@kilnar.com on Mon, Sep 10, 2001 at 07:01:31PM -0400 References: <20010910152123.E29648@rdlg.net> Message-ID: <20010910170927.I29648@rdlg.net> I thought about the race condition and that's one of the reasons I didn't want to scp the files around put anything on disk. Thus spake John Evans (evansj@kilnar.com): > On Mon, 10 Sep 2001, Robert L. Harris wrote: > > > I'm working on a script and in the pre-planning process hit some walls. > > I can do a "ssh $host cat /etc/hosts" and read the input into an array. I > > then want to modify the array and write /etc/hosts back out on $host. > > > > What's a good way to do this? > > > > print @Array `ssh host > /etc/hosts` doesn't seem a good idea or to work > > for that matter. > > If you have ssh, then you most likely have scp as well. I would read the > file, make your changes, save file to a temp spot (in a place other than > /tmp) and then scp the file to the server. Make sure that the tmp file > that you create is NOT world writeable. If it is, then you end up with a > nasty race condition: > > 1) You write file. > 2) Hacker makes changes to file (or copies his own file in place) > 3) You scp the file out to the server. > 4) Hacker now has what he wants on the server. > > Granted, modifying the hosts file is not the most dasterdly thing that a > hacker can do, but it's definately not a good thing since they can change > your loghost and start stealing your logs, which they can then use that > ability to cover their tracks for future hack attempts. > > -- > John Evans > http://evansj.kilnar.com/ > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s++:- a- C+++>++++ ULSB++++$ P+++$ L++++$ > E--- W++ N+ o? K? w O- M V PS+ !PE Y+ PGP t(--) 5-- X++(+++) > R+++ tv+ b+++(++++) DI+++ D++>+++ G+ e h--- r+++ y+++ > ------END GEEK CODE BLOCK------ :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From aksuska at webflyer.com Mon Sep 10 18:20:25 2001 From: aksuska at webflyer.com (Keary Suska) Date: Thu Aug 5 00:18:03 2004 Subject: perl -> ssh? In-Reply-To: <20010910152123.E29648@rdlg.net> Message-ID: IIRC, the second part of the ssh invocation is the command to execute on the remote machine, so you could do: $host_str = join( "\n", @Array); `ssh host echo "$host_str" > /etc/hosts`; Otherwise you would have to use SCP in SSH2 or interact with ssh as a tty. IO::Pty or Expect modules from CPAN might help. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" > From: "Robert L. Harris" > Date: Mon, 10 Sep 2001 15:21:23 -0600 > To: Pikes-Peak Perl Mongers > Subject: perl -> ssh? > > > > I'm working on a script and in the pre-planning process hit some walls. > I can do a "ssh $host cat /etc/hosts" and read the input into an array. I > then want to modify the array and write /etc/hosts back out on $host. > > What's a good way to do this? > > print @Array `ssh host > /etc/hosts` doesn't seem a good idea or to work > for that matter. > > Thoughts? > > > :wq! > --------------------------------------------------------------------------- > Robert L. Harris | Micros~1 : > Senior System Engineer | For when quality, reliability > at RnD Consulting | and security just aren't > \_ that important! > DISCLAIMER: > These are MY OPINIONS ALONE. I speak for no-one else. > FYI: > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' > > From tbcatwork at yahoo.com Fri Sep 14 09:23:42 2001 From: tbcatwork at yahoo.com (Tim Chambers) Date: Thu Aug 5 00:18:03 2004 Subject: Fw: Newsletter #9 from O'Reilly UG Program Message-ID: <002301c13d28$dc89f760$80441d82@cos.agilent.com> O'Reilly User Group Program NEWSLETTER Volume 1, #9 I would like to say that I hope you and your loved ones are safe at this devastating time in our country. If you get the chance, please drop me a line and let me know how you are. At times like these, it is sometimes best to keep some semblance of normalcy, and I hope you agree. In that spirit, here's our news: HIGHLIGHTS THIS WEEK... Books: - Java and XSLT - T1: A Survival Guide - VB .NET Language in a Nutshell - Fall Promotion News: - O'Reilly's Conference in D.C. POSTPONED - Learning the C# Error Handling Mechanism - Teaching Kids to Program with REALbasic - O'Reilly Releases "DocBook: The Definitive Guide" Under the GNU License - CrossOver Brings QuickTime Movies to Linux: Part 1 ************************************************* NEWS from O'Reilly & Beyond ************************************************* I would be grateful if you would alert your group to the news they'd find valuable. POSTPONED: ----------------------- Due to the attack on NY and our nation's capital this week, the O'Reilly Peer-to-Peer and Web Services Conference, scheduled to begin next week in D.C., has been postponed. To keep updated on new dates, go to: http://conferences.oreilly.com/p2p/ Please inform your members if you believe they intended on going. We have already contacted those who have registered. APPLE/MAC: ----------------------- Teaching Kids to Program with REALbasic Teaching a few programming basics to kids will show them what's really going on behind the monitor, and REALbasic is a great tool for the task. Here are some fun programming projects that children can grasp, by Matt Neuburg, the author of O'Reilly's upcoming "REALbasic: The Definitive Guide, 2nd Edition". http://mac.oreilly.com/news/realbasic_0901.html Open Source: ----------------------- O'Reilly Releases "DocBook: The Definitive Guide" Under the GNU License: Recognizing the natural fit between an open documentation standard and open source development, O'Reilly & Associates has released "DocBook: The Definitive Guide" under the Free Software Foundation's GNU Free Documentation License version 1.1. http://web.oreilly.com/news/docbooklic_0901.html CrossOver Brings QuickTime Movies to Linux: Part 1 Writing for O'Reilly's Linux DevCenter, Derrick Story rejoices that QuickTime multimedia capabilities are finally available for Linux users, and he examines the new CrossOver plug-in that makes this possible. http://linux.oreillynet.com/pub/a/linux/2001/09/06/crossover_partone.html .NET ------------------------ Learning the C# Error Handling Mechanism Writing for O'Reilly's .NET DevCenter, Budi Kurniawan introduces error handling in C# and offers examples on how to use it. To learn more about Microsoft's latest programming language, don't miss O'Reilly's recently released "Programming C#." http://www.oreillynet.com/pub/a/dotnet/2001/09/04/error_handling.html To help make the move from COM to .NET as smooth as possible, here are some migration tips and strategies by Juval Lowy, the author of O'Reilly's upcoming "COM and .NET Component Services." >From COM to .NET http://dotnet.oreilly.com/news/comdotnet_0901.html ************************************************* BOOK NEWS ************************************************* REVIEW COPIES AVAILABLE Please email me to request review copies. Press announcements are available for your use, please ask for a copy. Fall Promotion Buy two O'Reilly books from participating booksellers and choose a third book of equal or lesser value for free. All O'Reilly titles in print qualify. This limited-time offer is valid only in the U.S. and Canada. For a list of booksellers, go to: http://www.oreilly.com/news/retailpromo_0901.html Books Just Released: ---------------------- Java and XSLT http://oreilly.com/catalog/javaxslt/ Sample Chapter 5: XSLT Processing with Java http://oreilly.com/catalog/javaxslt/chapter/ch05.html T1: A Survival Guide http://oreilly.com/catalog/t1survival/ Sample Chapter 5: Timing, Clocking, and Synchronization in the T-carrier System http://oreilly.com/catalog/t1survival/chapter/ch05.html VB .NET Language in a Nutshell http://oreilly.com/catalog/vbdotnetnut/ Appendix A: What's New and Different in VB .NET http://oreilly.com/catalog/vbdotnetnut/chapter/appa.html Be well. Until next week, Denise From akalaveshi at mahinetworks.com Tue Sep 18 20:30:02 2001 From: akalaveshi at mahinetworks.com (Adrian Kalaveshi) Date: Thu Aug 5 00:18:03 2004 Subject: Hello From California! Message-ID: <9D6D37E97A57D411BB7C00508BAE29C902704BEC@main.mahinetworks.com> Hello all... I've settled in and started to work. I'm not sure that I'm still privy to your help, but I thought someone might shed some light on a problem I've encountered. I'm parsing out a stream of text that looks something like: Change 28637 on 2001/09/13 by jjonnala@jj_client_bgp1 BUG04155 and BUG04018 fixes - debug and sock reuse port option on no router bgp Change 28245 on 2001/09/11 by jjonnala@jj_client_bgp1 BUG03882 - update debugs - damping debugs I need to sort this output by bug number -- so that change 28637 appears in both the BUG04155 and BUG04018 buckets but change 28245 only appears in the BUG03882 bucket. The BUG\d\d\d\d text can appear anywhere in the description. I have no clue where to start on this seemingly easy script. Any help would be appreciated... >From where the palm trees sway, -adrian- From aksuska at webflyer.com Tue Sep 18 20:50:06 2001 From: aksuska at webflyer.com (Keary Suska) Date: Thu Aug 5 00:18:03 2004 Subject: Hello From California! In-Reply-To: <9D6D37E97A57D411BB7C00508BAE29C902704BEC@main.mahinetworks.com> Message-ID: Pretty straightforward, if the whole output is as consistent as the sample. while( <> ) { next if /^$/; # skipping blank lines if( m|^Change \d+ on [0-9/]+ by| ) { $change = $_; # cache line next; # skip to next line } elsif( @bugs = /BUG(\d{5})/g ) { foreach $bug ( @bugs ) { $entry{$bug} = $change; } } } This code assumes that you may have one change apply to multiple bugs, but not visa versa. You would need a more complicated data structure for that. Once you have the data, you can do whatever you want with it. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" > From: Adrian Kalaveshi > Date: Tue, 18 Sep 2001 18:30:02 -0700 > To: "'pikes-peak-pm-list@hfb.pm.org'" > Subject: Hello From California! > > Hello all... > > I've settled in and started to work. I'm not sure that I'm still privy to > your help, but I thought someone might shed some light on a problem I've > encountered. I'm parsing out a stream of text that looks something like: > > > Change 28637 on 2001/09/13 by jjonnala@jj_client_bgp1 > > BUG04155 and BUG04018 fixes - debug and sock reuse port option on no > router bgp > > Change 28245 on 2001/09/11 by jjonnala@jj_client_bgp1 > > BUG03882 - update debugs - damping debugs > > > I need to sort this output by bug number -- so that change 28637 appears in > both the BUG04155 and BUG04018 buckets but change 28245 only appears in the > BUG03882 bucket. The BUG\d\d\d\d text can appear anywhere in the > description. I have no clue where to start on this seemingly easy script. > Any help would be appreciated... > > From where the palm trees sway, > -adrian- >