[techtalk] strange unknown...

2000-09-26 Thread betka
hiyis... i have this sound that my machine makes... kinda goes dadadadaadaaa we can not figure out what is doing it no specific time of day completely random have changed sound cards nothing ever appears in the logs i am running red hat 6.2 .. but this has accured through several upgrades it a

[techtalk] Limits of grep?

2000-09-26 Thread Subba Rao
Hi I have a directory of 1+ text files and would like to search for some strings in these files. When I tried using "grep" command with an asterisk, I get the error message somthing to the effect, "File argument list too long" What is the file argument limit for grep? I guess you ne

Re: [techtalk] Limits of grep?

2000-09-26 Thread Marie Fischer
On Tue, 26 Sep 2000, Subba Rao wrote: > I have a directory of 1+ text files and would like to search for > some strings in these files. When I tried using "grep" command with an > asterisk, I get the error message somthing to the effect, > > "File argument list too long" > Might be th

Re: [techtalk] Limits of grep?

2000-09-26 Thread Julie
From: Subba Rao <[EMAIL PROTECTED]> > I have a directory of 1+ text files and would like to search for > some strings in these files. When I tried using "grep" command with an > asterisk, I get the error message somthing to the effect, > > "File argument list too long" You're exceeding the lo

[techtalk] need help with a shell script

2000-09-26 Thread alissa bader
hey there. I am trying to write a shell script to update the named.conf file on our secondary nameserver. I want the formatting to read: zone "domain.com" { type slave; file "d/db.domain"; ^^ masters { 204.177.32.2; }; };

Re: [techtalk] need help with a shell script

2000-09-26 Thread Laurel Fan
Excerpts from linuxchix: 26-Sep-100 [techtalk] need help with a.. by alissa [EMAIL PROTECTED] > with the "file" line reading like: > [first-letter-of-domain]/db.[domain-minus-top-level-domain] Here's a way to get the [domain-minus-top-level-domain] part: echo $DOMAIN | sed -e 's/\.[^\.]*$//'

Re: [techtalk] need help with a shell script

2000-09-26 Thread Olivier Tharan
Le 26 septembre 2000 a 11:41, alissa bader a écrit : > zone "domain.com" { > type slave; > file "d/db.domain"; [ ... ] > The way I have it written so far is: > #!/bin/sh > for DOMAIN in `cat /tmp/ns1stuff` > do > echo "zone" '"'"$DOMAIN"'"' "{" >> /etc/named.conf > echo "

Re: [techtalk] need help with a shell script

2000-09-26 Thread Andrew Wendt
On Tue, 26 Sep 2000, Laurel Fan wrote: >Here's a way to get the [domain-minus-top-level-domain] part: > > echo $DOMAIN | sed -e 's/\.[^\.]*$//' If you're using bash, you can also do this directly from the shell: echo "${DOMAIN%.*}" This will take the shortest amount of text matching the glob

Re: [techtalk] strange unknown...

2000-09-26 Thread stephanie1200
please don't smack me for such a simplistic response but, you don't have anything goofy lying around like a mouse cable or something that would rest on a key under certain conditions? Like is your keyboard in a rack that would bump into a key or something? stuff like that has happened to me l

Re: [techtalk] strange unknown...

2000-09-26 Thread Samuel Lavenz
Hardly a simplistic response, Stephanie. So many of us are accustomed to having kernel problems and what not, that the simple things elude us. However, I don't think that that is the case here. Betka, do you experience anything out of the ordinary besides the sound? Is the sound coming out of

Re: [techtalk] Limits of grep?

2000-09-26 Thread Lotta Loytonen
On Tue, Sep 26, 2000 at 06:59:49AM -0500, Julie wrote: > From: Subba Rao <[EMAIL PROTECTED]> > > I have a directory of 1+ text files and would like to search for > > some strings in these files. When I tried using "grep" command with an > > asterisk, I get the error message somthing to the eff