Re: Configuration centralizing tool sought

2003-02-09 Thread martin f krafft
also sprach Carlos Sousa <[EMAIL PROTECTED]> [2003.02.09.1517 +0100]: > > \s+ > > I take it you mean that each line is composed of two words, separated by > one or more spaces, and terminated with a newline. Both words will, of > course, contain no spaces. righty. > > while read user filename; d

Re: Configuration centralizing tool sought

2003-02-09 Thread Carlos Sousa
On Sat, 1 Feb 2003 17:37:56 +0100 martin f krafft wrote: > Right. But I gave up on it when I fough 30 minutes this morning on > reading in a file formatted like this: > > \s+ I take it you mean that each line is composed of two words, separated by one or more spaces, and terminated with a newline

Re: Configuration centralizing tool sought - yupp

2003-02-01 Thread Alvin Oga
On Sat, 1 Feb 2003, Miquel van Smoorenburg wrote: > > There are not things you should package. It's a one-off that you, > as a capable sysadmin ;), should be able to write in less time as > it took for you to compose this message. and i'd make the script check the Master release directory and

Re: Configuration centralizing tool sought

2003-02-01 Thread Rohan Nicholls
* martin f krafft <[EMAIL PROTECTED]> [030201 17:51]: > Right. But I gave up on it when I fough 30 minutes this morning on > reading in a file formatted like this: > > \s+ > > with a while loop: > > while read user filename; do > echo "$user : $filename" > done < thefile > > this is supposed

Re: Configuration centralizing tool sought

2003-02-01 Thread martin f krafft
also sprach Rohan Nicholls <[EMAIL PROTECTED]> [2003.02.01.1703 +0100]: > I am not sure why you have lost faith in shell scripting, besides the > language being horribly ugly, and useless for complicated development > (which it is not meant, nor designed for, so fair enough:)), but perl is > notori

Re: Configuration centralizing tool sought

2003-02-01 Thread Rohan Nicholls
> Well, not if I am lazy... I have a shell script like that, but I want > a perl version. I don't believe in shell anymore, and I have too > little time to learn Perl... > I am not sure why you have lost faith in shell scripting, besides the language being horribly ugly, and useless for complic

Re: Configuration centralizing tool sought

2003-02-01 Thread martin f krafft
also sprach Miquel van Smoorenburg <[EMAIL PROTECTED]> [2003.02.01.1528 +0100]: > There are not things you should package. It's a one-off that you, > as a capable sysadmin ;), should be able to write in less time as > it took for you to compose this message. Well, not if I am lazy... I have a shel

Re: Configuration centralizing tool sought

2003-02-01 Thread martin f krafft
also sprach Colin Ellis <[EMAIL PROTECTED]> [2003.02.01.1528 +0100]: > Maybe a mixture of cvs and .login could do this? I was thinking about that, but that's overkill. Aside, it requires users to checkin, and it requires me to configure the CVS tree properly wrt permissions... PS: I'd appreciate

Re: Configuration centralizing tool sought

2003-02-01 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, martin f krafft <[EMAIL PROTECTED]> wrote: >I am in search for a tool that does the following. > >- According to a list of users, the tool goes and finds a particular > file relative to the user's home directory. Let's say this file is > called foo.rc. If the user

RE: Configuration centralizing tool sought

2003-02-01 Thread Colin Ellis
Maybe a mixture of cvs and .login could do this? -Original Message- From: martin f krafft [mailto:[EMAIL PROTECTED]] Sent: 01 February 2003 13:58 To: debian users Subject: Configuration centralizing tool sought Hi all, I am in search for a tool that does the following. - According to

Re: Configuration centralizing tool sought

2003-02-01 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2003.02.01.1457 +0100]: > Or if someone more capable on perl than I (i.e. > 0) could whip that > out of his/her pocket for my perusal. I'll package it and give credit > in return. if there is someone, please speak to me before as i have a couple of

Configuration centralizing tool sought

2003-02-01 Thread martin f krafft
Hi all, I am in search for a tool that does the following. - According to a list of users, the tool goes and finds a particular file relative to the user's home directory. Let's say this file is called foo.rc. If the user list consists of {bob, jane, bill}, then the tool would go and find