Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Python
On Mon, 2006-01-09 at 14:35 -0500, Ed Lawson wrote: On Mon, 9 Jan 2006 13:53:30 -0500 Ted Roche [EMAIL PROTECTED] wrote: New Potential Legislation An Act establishing a committee to study requiring NH state government to consider using open source software when acquiring new

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Jon maddog Hall
While Open Source projects do not have a sales and marketing arm to deal with RFPs, corporations like Red Hat, Novell, IBM, HP, Dell, Sun and others do. To a lesser extent, VARs, Distributors and Resellers also do answers to RFPs. md -- Jon maddog Hall Executive Director Linux

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Bruce Dawson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I sent a note to Roy Maxfield, my rep and a sponsoring committee-member, but I haven't heard anything back. - --Bruce Python wrote: |On Mon, 2006-01-09 at 14:35 -0500, Ed Lawson wrote: | |On Mon, 9 Jan 2006 13:53:30 -0500 |Ted Roche [EMAIL

Re: Rationale for not releasing drivers as FOSS

2006-01-10 Thread Mark Komarinski
On Tue, Jan 10, 2006 at 01:29:08AM -0500, Ben Scott wrote: On 1/9/06, Michael ODonnell [EMAIL PROTECTED] wrote: In general, I am still baffled by companies who withold Linux drivers for their HW, my current employer included. However, this article:

Re: Rationale for not releasing drivers as FOSS

2006-01-10 Thread Jon maddog Hall
[EMAIL PROTECTED] said: In case you're wondering why they did this, it was cheaper for them to have one manufacturing line for the cards and it also allowed them to make either version of the card on demand. In the mid-1970s Aetna Life and Casualty (at that time the largest commercial user

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Bill McGonigle
On Jan 10, 2006, at 08:48, Python wrote: However, I suspect another issue is the RFP process commonly used for government purchases. Many open source projects have no sales or marketing arm to deal with an RFP. Does anyone know if that really is an obstacle to getting open source to be

Re: Rationale for not releasing drivers as FOSS

2006-01-10 Thread hewitt_tech
- Original Message - From: Jon maddog Hall [EMAIL PROTECTED] To: Mark Komarinski [EMAIL PROTECTED] Cc: Ben Scott [EMAIL PROTECTED]; GNHLUG gnhlug-discuss@mail.gnhlug.org Sent: Tuesday, January 10, 2006 9:21 AM Subject: Re: Rationale for not releasing drivers as FOSS [EMAIL

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Jon maddog Hall
[EMAIL PROTECTED] said: This may be a catch-22. I've considered applying for the approved vendors list (there's a real name for that) but was told open source solutions aren't usually considered so I didn't. Bill, Considering the bill going forward, perhaps the issue of open source

Re: Rationale for not releasing drivers as FOSS

2006-01-10 Thread Ben Scott
On 1/10/06, Mark Komarinski [EMAIL PROTECTED] wrote: A company I previously worked for had two models of a card that were exactly identical except for the exterior markings and the contents of a PROM that was on the card. Promise Tech has a few RAID cards that do just that. (RAID in quotes

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Richard Soule
Getting on the list can be difficult. Most states have a 'Statewide Contract' which means negotiating with the state purchasing folks. They often demand special concessions (you can never charge us more than you charge any other customer), access to internal sales information (so they know

Re: New Hampshire legislation to consider Open Source (adding a cross post to dlslug)

2006-01-10 Thread Bill McGonigle
On Jan 10, 2006, at 10:25, Jon maddog Hall wrote: Considering the bill going forward, perhaps the issue of open source solutions aren't usually considered is old news. Yes, I'm aware of the thread topic. Note the use of past tense in my statements - I'm suggesting the RFP process may have

extract string

2006-01-10 Thread Zhao Peng
Hi Suppose that I have a file called abc.txt, which contains the following 5 lines (columns are delimited by ,) name,age,school jerry ,21,univ of Vermont jesse,28,Dartmouth college jack,18,univ of Penn john,20,univ of south Florida My OS is RedHat Enterprise, how could I extract the string

RE: extract string

2006-01-10 Thread Whelan, Paul
Like so: cat abc.txt | cut -d, -f3 Thanks. -Original Message- From: Zhao Peng [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 11:51 AM To: gnhlug-discuss@mail.gnhlug.org Subject: extract string Hi Suppose that I have a file called abc.txt, which contains the following 5

RE: extract string

2006-01-10 Thread klussier
Actually, if you are looking for only lines that contain the string univ, then you would want to grep for it: grep univ abc.txt | cut -f3 -d, dev.txt. Paul's example would give you the third field of each line, even if they don't have univ in them. Now, if you wanted to remove the quotes,

Re: extract string

2006-01-10 Thread Zhao Peng
Kenny, Thank you for your suggestion. The following line works: grep univ abc.txt | cut -f3 -d, dev.txt. While the following line intended to remove quotes does NOT work: grep univ abc.txt | cut -f3 -d, | sed s/\//g dev.txt It resulted in a line starts with prompt, and not output dev.txt

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Zhao Peng [EMAIL PROTECTED] wrote: how could I extract the string which contains univ and create an output file called def.txt, which only has 3 following lines: Here's one way, as a Perl one-liner: perl -ne 'split ,; $_ = $_[2]; s/(^)|($)//g; print if m/univ/;' abc.txt def.txt

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Whelan, Paul [EMAIL PROTECTED] wrote: Like so: cat abc.txt | cut -d, -f3 1. Randal Schwartz likes to call that UUOC (Useless Use Of cat). :-) You can just do this instead: cut -d, -f3 abc.txt If you like the input file at the start of the command line, that's legal, too:

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Zhao Peng [EMAIL PROTECTED] wrote: While the following line intended to remove quotes does NOT work: grep univ abc.txt | cut -f3 -d, | sed s/\//g dev.txt It resulted in a line starts with prompt, and not output dev.txt The prompt indicates the shell thinks you are still in the

Re: extract string

2006-01-10 Thread Jeff Kinz
Ooo, look! - a new business model for Lugs! Achieve Lug financial independence today! Now your Lug can achieve its financial funding goals simply by charging 25 cents for each shell scripting homework problem answered and 50 cents for extended explanations such as rendered below. :-) All we

Re: extract string

2006-01-10 Thread Paul Lussier
Zhao Peng [EMAIL PROTECTED] writes: Hi Suppose that I have a file called abc.txt, which contains the following 5 lines (columns are delimited by ,) name,age,school jerry ,21,univ of Vermont jesse,28,Dartmouth college jack,18,univ of Penn john,20,univ of south Florida My OS is RedHat

Re: extract string

2006-01-10 Thread Paul Lussier
Ben Scott [EMAIL PROTECTED] writes: Here's one way, as a Perl one-liner: perl -ne 'split ,; $_ = $_[2]; s/(^)|($)//g; print if m/univ/;' abc.txt def.txt Egads! -- Seeya, Paul ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org

Re: extract string

2006-01-10 Thread Paul Lussier
[EMAIL PROTECTED] writes: Actually, if you are looking for only lines that contain the string univ, then you would want to grep for it: grep univ abc.txt | cut -f3 -d, dev.txt. Why are you appending to dev.txt? (or def.txt even). Are you assuming the file already exists and don't want to

Re: extract string

2006-01-10 Thread Michael ODonnell
Ooo, look! - a new business model for Lugs! I happen to like these threads and far from regarding them as a burden I think they're a pleasant diversion and extremely useful as learning opportunities. But I've been asking for a long time when our IPO will be happening; we've got more talent

Re: extract string

2006-01-10 Thread Drew Van Zandt
While it does seem like a few man page pointers would be better (more instructive in the long run), I have to admit I wasn't familiar with cut, so I've learned something from this one. --Drew

Homework problems (was: extract string)

2006-01-10 Thread Ben Scott
On 1/10/06, Jeff Kinz [EMAIL PROTECTED] wrote: Now your Lug can achieve its financial funding goals simply by charging 25 cents for each shell scripting homework problem answered and 50 cents for extended explanations such as rendered below. :-) I was wondering if I should raise the Ya know,

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Paul Lussier [EMAIL PROTECTED] wrote: perl -ne 'split ,; $_ = $_[2]; s/(^)|($)//g; print if m/univ/;' abc.txt def.txt Egads! Egads? -- Ben As I was saying about explanation... Scott ___ gnhlug-discuss mailing list

Re: extract string

2006-01-10 Thread klussier
-- Original message -- From: Paul Lussier [EMAIL PROTECTED] [EMAIL PROTECTED] writes: Actually, if you are looking for only lines that contain the string univ, then you would want to grep for it: grep univ abc.txt | cut -f3 -d, dev.txt. Why are you

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Drew Van Zandt [EMAIL PROTECTED] wrote: While it does seem like a few man page pointers would be better (more instructive in the long run), I have to admit I wasn't familiar with cut, so I've learned something from this one. Since we're on the subject... Is there a tool that

RE: Homework problems (was: extract string)

2006-01-10 Thread Brian
Answer C: Who cares? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Scott Sent: Tuesday, January 10, 2006 4:01 PM To: gnhlug-discuss@mail.gnhlug.org Subject: Homework problems (was: extract string) Assume it is a homework problem. Does

Re: extract string

2006-01-10 Thread Jon maddog Hall
[EMAIL PROTECTED] said: While the following line intended to remove quotes does NOT work: grep univ abc.txt | cut -f3 -d, | sed s/\//g dev.txt It resulted in a line starts with prompt, and not output dev.txt I can't see any reason why what state should be happening. As a matter of fact,

Re: extract string

2006-01-10 Thread Ben Scott
On 1/10/06, Jon maddog Hall [EMAIL PROTECTED] wrote: I was the senior systems administrator for Bell Labs in North Andover, MA. I got the job without ever having seen a UNIX system. Well, really. How many people *had* seen a UNIX system, back then? ;-) (Sorry, couldn't resist.) It was

Re: extract string

2006-01-10 Thread klussier
-- Original message -- From: Zhao Peng [EMAIL PROTECTED] Kenny, Thank you for your suggestion. The following line works: grep univ abc.txt | cut -f3 -d, dev.txt. While the following line intended to remove quotes does NOT work: grep univ abc.txt |

Re: Homework problems (was: extract string)

2006-01-10 Thread Travis Roy
I agree.. Does it matter. We're here to help, discuss, and answer questions. If you feel that your answer will cause more problems in the long run, then don't answer. Not having a degree, some of my best information has come from places like this and other sources on the internet. In fact,

Re: extract string

2006-01-10 Thread Kevin D. Clark
Ben Scott writes: Is there a tool that quickly and easily extracts one or more columns of text (separated by whitespace) from an output stream? I'm familiar with the awk '{ print $3 }' mechanism, but I've always felt that was clumsy. I've tried to get cut(1) to do it in the

Re: Homework problems (was: extract string)

2006-01-10 Thread Jim Kuzdrall
On Tuesday 10 January 2006 04:13 pm, Brian wrote: Answer C: Who cares? All of us will care when the country has to depend on the products of today's education system. Get ready for it. The standards are so incredibly low that these graduates will not even know the buzz words of

Doug McIlroy Talk downloads now available

2006-01-10 Thread Bill McGonigle
Sorry for the long delay folks - I finally got the audio/video downloads all set from Doug McIlroy's talk Ancestry of Linux - How the Fun Began at the last Quarterly Meeting in November for those who couldn't make it or would like to review: http://dlslug.org/past_meetings.html I'm hosting

Re: Homework problems (was: extract string)

2006-01-10 Thread Travis Roy
Jim Kuzdrall wrote: On Tuesday 10 January 2006 04:13 pm, Brian wrote: Answer C: Who cares? All of us will care when the country has to depend on the products of today's education system. Get ready for it. The standards are so incredibly low that these graduates will not even know

Re: Homework problems (was: extract string)

2006-01-10 Thread Bill McGonigle
On Jan 10, 2006, at 18:05, Travis Roy wrote: How do we, as a list, tell what's a homework problem and what's a legit question. I think there's little substitute for knowing the membership. Zhao is a programmer for Dartmouth Medical School. -Bill - Bill McGonigle, Owner

RE: Homework problems (was: extract string)

2006-01-10 Thread Brian
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Kuzdrall Sent: Tuesday, January 10, 2006 5:45 PM To: gnhlug-discuss@mail.gnhlug.org Subject: Re: Homework problems (was: extract string) All of us will care when the country has to

Re: Homework problems (was: extract string)

2006-01-10 Thread Jeff Kinz
On Tue, Jan 10, 2006 at 04:01:05PM -0500, Ben Scott wrote: On 1/10/06, Jeff Kinz [EMAIL PROTECTED] wrote: Now your Lug can achieve its financial funding goals simply by charging 25 cents for each shell scripting homework problem answered and 50 cents for extended explanations such as

Re: extract string

2006-01-10 Thread Paul Lussier
Ben Scott [EMAIL PROTECTED] writes: On 1/10/06, Jon maddog Hall [EMAIL PROTECTED] wrote: I was the senior systems administrator for Bell Labs in North Andover, MA. I got the job without ever having seen a UNIX system. Well, really. How many people *had* seen a UNIX system, back then?

Re: Homework problems (was: extract string)

2006-01-10 Thread Thomas Charron
On 1/10/06, Bill McGonigle [EMAIL PROTECTED] wrote: On Jan 10, 2006, at 18:05, Travis Roy wrote: How do we, as a list, tell what's a homework problem and what's a legit question.I think there's little substitute for knowing the membership.Zhao isa programmer for Dartmouth Medical School. For, or

Re: Homework problems (was: extract string)

2006-01-10 Thread Ben Scott
On 1/10/06, Thomas Charron [EMAIL PROTECTED] wrote: A programmer that doesn't know how to grep and split text strings.. Believe it or not, there are environments *other* then nix, and a great many well-qualified professionals have never touched nix. I don't just mean doze, either. Classic

Re: Homework problems (was: extract string)

2006-01-10 Thread Jeff Kinz
On Tue, Jan 10, 2006 at 07:56:46PM -0500, Thomas Charron wrote: On 1/10/06, Bill McGonigle [EMAIL PROTECTED] wrote: On Jan 10, 2006, at 18:05, Travis Roy wrote: How do we, as a list, tell what's a homework problem and what's a legit question. I think there's little substitute for

Re: Homework problems (was: extract string)

2006-01-10 Thread Christopher Schmidt
On Tue, Jan 10, 2006 at 07:56:46PM -0500, Thomas Charron wrote: A programmer that doesn't know how to grep and split text strings.. Well.. Isn't.. I know of several ways to do it, but none of them would have worked as well as the cut solution presented here. I've been working on Linux as

Re: Follow-up: Red Hat / Fedora dual boot

2006-01-10 Thread Zhao Peng
Ben, The content of /etc/redhat-release file shows: Red Hat Enterprise Linux AS release 4 (Nahant Update 2) Thank you. Zhao Ben Scott wrote: [CC'ing the list with the OP's permission. Please include the list in any replies.] On 1/2/06, Zhao Peng [EMAIL PROTECTED] wrote: Thank you for

Re: Homework problems (was: extract string)

2006-01-10 Thread Bill McGonigle
On Jan 10, 2006, at 20:16, Christopher Schmidt wrote: The lack of knowledge of a simple command line tool to do what you want it to does not indicate whether someone is a programmer or not. It simply indicates one thing -- their level of experience with core *nix tools. Lack of that is not an

Re: Homework problems (was: extract string)

2006-01-10 Thread Jeff Kinz
On Tue, Jan 10, 2006 at 08:16:47PM -0500, Christopher Schmidt wrote: On Tue, Jan 10, 2006 at 07:56:46PM -0500, Thomas Charron wrote: A programmer that doesn't know how to grep and split text strings.. Well.. Isn't.. I know of several ways to do it, but none of them would have

BSD User's group?

2006-01-10 Thread Martin Ekendahl
Does anyone know of any BSD user groups in NH or the greater Boston area? I've been a long time user, but always get drawn back to BSD bases systems for some reason. -Martin ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org

Re: BSD User's group?

2006-01-10 Thread Ben Scott
On 1/10/06, Martin Ekendahl [EMAIL PROTECTED] wrote: Does anyone know of any BSD user groups in NH or the greater Boston area? I've been a long time user, but always get drawn back to BSD bases systems for some reason. Well, there's GNHLUG. Despite the name, we're really about way more

Re: BSD User's group?

2006-01-10 Thread Jason Stephenson
Martin Ekendahl wrote: Does anyone know of any BSD user groups in NH or the greater Boston area? I've been a long time user, but always get drawn back to BSD bases systems for some reason. BLU? at http://www.blu.org/ might fit. However, it seems rather Linux-centric. I hang out on this

Re: BSD User's group?

2006-01-10 Thread Ben Scott
On 1/10/06, Jason Stephenson [EMAIL PROTECTED] wrote: I hang out on this list (and not any from BLU) and I'm a big FreeBSD fan ... If enough people are interested in starting something, I might be able to find the time to help out. I really shouldn't promise anything, though. I speak only

Re: Homework problems (was: extract string)

2006-01-10 Thread Jim Kuzdrall
On Tuesday 10 January 2006 06:05 pm, Travis Roy wrote: Just let it go, if you think it's somebody cheating then don't answer, or give them a vague answer or point them to places where they can learn about it rather then copy it off of. That is my technique too. I get to answer a lot of

Re: extract string -- TIMTOWTDI

2006-01-10 Thread William D Ricker
On 1/10/06, Paul Lussier [EMAIL PROTECTED] wrote: perl -ne 'split ,; $_ = $_[2]; s/(^)|($)//g; print if m/univ/;' abc.txt def.txt Egads! That's a literal start at a Perl bring the grep sed and cut-or-awk into one process, but it's not maximally Perl-ish. It is also inefficient, it

Emacs PINE -- perfect together. [Don't hurt me!]

2006-01-10 Thread Ken D'Ambrosio
A sad, sad truth that I've come to accept is that I have PINE's keystrokes emblazoned in my memory. I use it at least once a year, whether I need to or not, and I never even have to pause. They keystrokes are just THERE. I tried MUTT. No dice. Never was a big ELM fan. And GUIs are certainly

Re: extract string

2006-01-10 Thread Zhao Peng
Hi All, First I really cannot be more grateful for the answers to my question from all of you, I appreciate your help and time. I'm especially touched by the outpouring of response on this list., which I have never experienced before anywhere else. Secondly I'm sorry for the big stir-up as