Re: grep fait crasher le serveur

2003-03-18 Thread Eric LeBlanc
are. == On Tue, 18 Mar 2003, Dominique Arpin wrote: Bonjour, sur un de mes serveurs, si je fais un grep -i -r -l toto / Le serveur plante, erreur de mémoire. Apache, proftpd et la connection réseau ne fonctionne plus. J'utilise une Woody avec un noyau 2.4.18. Est-ce un bog de grep

Re: grep fait crasher le serveur

2003-03-18 Thread Dominique Arpin
Je suis sur que tu as un probleme avec ta RAM. Essaie avec les nouvelles barettes de memoire RAM. J'ai déjà fait passer un test de 72 heures avec memtest86 et il n'avait vu aucune erreurs. E. -- Eric LeBlanc [EMAIL PROTECTED] -- Dominique Arpin

Re: grep fait crasher le serveur

2003-03-18 Thread Dominique Arpin
sans doute quelque chose (un lien symbolique) qui fait boucler la recherche récursive et donc saturation mémoire... que donne 'ls -lR /' ? aucun probleme. A+ -- FAQ de la liste : http://savannah.nongnu.org/download/debfr-faq/html/ mailto:[EMAIL PROTECTED]

Re: grep fait crasher le serveur

2003-03-18 Thread Loïc Minier
Dominique Arpin [EMAIL PROTECTED] - Tue, Mar 18, 2003: grep -i -r -l toto / Car sur ma machine, une Sid avec le noyau 2.5.65, ce grep recursif ne fait crasher aucun service. Se pourrait-il qu'il greppe le /dev ? Peut-être que les deux machines n'ont pas les même périphériques. -- Loïc

grep / sed + regex : possible bug ?

2003-03-18 Thread Axel Schlicht
/Name/C/5 blaba/Name/CcDD blaba/Name/CcDD/2 but cat x | grep '/Name/[^/][^/]*' yields blaba/Name/aaa blaba/Name/aaa/1: _/_1 not in regex, strange blaba/Name/bb blaba/Name/bb/3 : _/_3 not in regex, strange blaba/Name/C/5 : _/_5 not in regex, strange blaba/Name/CcDD blaba/Name/CcDD/2

Re: grep / sed + regex : possible bug ?

2003-03-18 Thread Johann Spies
On Wed, Mar 19, 2003 at 04:17:54AM +0100, Axel Schlicht wrote: cat x | sed -ne '/.*\/Names\/[^/][^/]*/p' cat x | sed -ne '/.*\/Names\/[^/][^/]*$/p' # with EOL cat x | sed -ne '/.*\/Names\/[^/]\+/p' # with + (masked) cat x | sed -ne '/\/Names\/[^/]\+/p' # prefix omitted all

grafisches grep

2003-02-12 Thread Ulrich Wiederhold
Hallo, kennst jemand ein Programm, mit dem ich in einer Textdatei, einer Liste nach bestimmten Wörtern suchen kann? Hintergund: Ich habe eine Liste meiner mp3-Dateien auf der Platte. Ich suche darin mittels cat liste.txt | grep artistname z.B. nach einem Artist. Funktioniert auch wunderbar. Nun

Re: grafisches grep

2003-02-12 Thread Jan Iversen
Moin Moin, [...] ist vielleicht nicht genau das, was du gerne suchst, aber schau dir mal gnump3d [1] an. Gruss Jan [1] http://gnump3d.sourceforge.net/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail

Re: grafisches grep

2003-02-12 Thread Sven Bergner
On Wed, 12 Feb 2003, Ulrich Wiederhold wrote: Hallo, kennst jemand ein Programm, mit dem ich in einer Textdatei, einer Liste nach bestimmten Wörtern suchen kann? Hintergund: Ich habe eine Liste meiner mp3-Dateien auf der Platte. Ich suche darin mittels cat liste.txt | grep artistname z.B

Re: grafisches grep

2003-02-12 Thread Ulrich Wiederhold
Hi, * Sven Bergner [EMAIL PROTECTED] [030212 10:45]: Das sollte doch fast jeder beliebige MP3-Indexer können. Die gibt es doch wie Sand am Meer. So spontan fällt mir da longplayer ein. Aber es gibt noch mehr. longplayer habe ich gerade mal getestet. Viel zu umständlich und zu langsam. Außerdem

Re: grafisches grep

2003-02-12 Thread Jens Kubieziel
On Wed, Feb 12, 2003 at 10:37:26AM +0100, Ulrich Wiederhold wrote: suche darin mittels cat liste.txt | grep artistname z.B. nach einem Kennst du den useless use of cat award? grep artistname liste.txt funktioniert genauso gut. -- Jens Kubieziel http

Re: grafisches grep

2003-02-12 Thread Sven Richter
liste.txt | grep artistname z.B. nach einem Artist. Funktioniert auch wunderbar. Nun will aber am Freitag eine kleine Party machen und auch anderen Leuten das Musikmachen ermöglichen. Wenn diese Leute ein bestimmtes Lied suchen/spielen wollen, dann wäre ein kleines grafisches Tool ideal, in das

Re: grafisches grep

2003-02-12 Thread Thomas Braun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch 12 Februar 2003 12:28 schrieb Sven Richter: Aber fuer das reicht doch eigentlich xmms aus, oder? Einfach alle Lieder die du hast in eine Playlist laden - Rechtsklick (wird das jetzt gross oder klein geschrieben?) auf die Laufleiste von

Re: grafisches grep

2003-02-12 Thread Ulrich Wiederhold
noch so schnell ist. * ding ist auch sehr interessant. Sowas habe ich auch schon immer mal gesucht. Das werde ich auf jeden Fall auch verwenden, damit die Leutchen nebenher noch was suchen können. Vielleicht lasse ich auch 2 xmms mit 2 Soundkarten laufen, mal schaun. * grep suche liste.txt

Re: Unicode-aware grep?

2003-01-20 Thread Gaute B Strokkenes
On Thu, 16 Jan 2003, [EMAIL PROTECTED] wrote: Is there a grep that is able to understand utf-16-[lb]e encoded files? I have a bunch of LaTeX source files intended for Lambda, so they're stored as utf-16-le. But when I try and grep the files, nothing happens because of all of the extra bytes

Re: Unicode-aware grep?

2003-01-20 Thread Steve Juranich
On 20 January 2003 at 17:12, Gaute B Strokkenes [EMAIL PROTECTED] wrote: The preferred way to use Unicode in Debian is to use UTF-8. Try something like: $ iconv -f UTF-16 -t UTF-8 my_utf_16_file temporary_file Thanks. I wrote a hacky little python script to do a kind of fgrep on

Unicode-aware grep?

2003-01-16 Thread Steve Juranich
Is there a grep that is able to understand utf-16-[lb]e encoded files? I have a bunch of LaTeX source files intended for Lambda, so they're stored as utf-16-le. But when I try and grep the files, nothing happens because of all of the extra bytes in the file. I've looked at the man page

Re: questions relating to the ls and grep command

2003-01-10 Thread Robert Land
Then, when wanting ls only to plot the names of the subdirectories in the current directory, I key ls -F|grep or ls -p|grep. Is this the only way, Have I written this? - again one of my bad habits to skip/mangle my own thoughts. What I had used was ls -F|grep / or ls -p|grep

questions relating to the ls and grep command

2003-01-08 Thread Robert Land
the names of the subdirectories in the current directory, I key ls -F|grep or ls -p|grep. Is this the only way, and why do the -p and -F options do not seem to differ in any way? Additionaly when should I use fgrep - what are fixed strings? Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: questions relating to the ls and grep command

2003-01-08 Thread Colin Watson
useful if you don't pass any directory names on the command line, since it will then list only the current directory entry itself. Then, when wanting ls only to plot the names of the subdirectories in the current directory, I key ls -F|grep or ls -p|grep. Is this the only way, You probably want

Re: questions relating to the ls and grep command

2003-01-08 Thread Bob Proulx
Robert Land [EMAIL PROTECTED] [2003-01-08 15:49:00 +0100]: Would someone kindly explain when to use the ls -d command? This is explained in some detail here: http://www.gnu.org/software/fileutils/doc/faq/ Bob msg23040/pgp0.pgp Description: PGP signature

Re: grep freezes system

2002-12-30 Thread Robert Land
On Sun, Dec 29, 2002 at 11:10:36PM +0100, Michael Naumann wrote: 29.12.2002 20:06:56, [EMAIL PROTECTED] (Robert Land) wrote: Yet this grep thing happened today - I know 64MB RAM is not quite what you would use nowadays - but I only have currently a few xterms running and no fancy stuff which

Re: grep freezes system

2002-12-30 Thread Michael Naumann
30.12.2002 13:57:56, [EMAIL PROTECTED] (Robert Land) wrote: On Sun, Dec 29, 2002 at 11:10:36PM +0100, Michael Naumann wrote: I'm fairly sure, that the memory consumption of grep is quite independent of the number of files/dirs to be searched. Except for transferirng memory Buffers from free

mpg123 + grep + cut

2002-12-29 Thread Piotr G.
Witam wszystkich Przepraszam, że nie debianowo, ale może ktoś będzie wiedział :-) Problem jest taki mpg123 -R -|grep :|cut -c 8- (a następnie load piosenka.mp3) wydawało mi się, że taka kombinacja da mi w rezultacie tytuł utworu, a tu nic. Natomiast działa taka kombinacja: mpg123 -R -|grep : tyle

grep freezes system

2002-12-29 Thread Robert Land
Using recursive grep for large directory structures caused the entire system to freeze. The same happens for find / * -group xx_x. I'm still using potato and the current available findutils deb package. Have any users had this before? Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: grep freezes system

2002-12-29 Thread Paul Johnson
On Sun, Dec 29, 2002 at 10:51:04AM +0100, Robert Land wrote: Using recursive grep for large directory structures caused the entire system to freeze. The same happens for find / * -group xx_x. I'm still using potato and the current available findutils deb package. Have any users had

Re: grep freezes system

2002-12-29 Thread Michael Naumann
29.12.2002 10:51:04, [EMAIL PROTECTED] (Robert Land) wrote: Using recursive grep for large directory structures caused the entire system to freeze. I once had this, when I tried to access scsi-devices with hardware-problems. Responsiveness of the whole system went drastically down. Hanging

Re: grep freezes system

2002-12-29 Thread Robert Land
On Sun, Dec 29, 2002 at 03:07:36PM +0100, Michael Naumann wrote: 29.12.2002 10:51:04, [EMAIL PROTECTED] (Robert Land) wrote: Using recursive grep for large directory structures caused the entire system to freeze. I once had this, when I tried to access scsi-devices with hardware-problems

Re: grep freezes system

2002-12-29 Thread Michael Naumann
29.12.2002 20:06:56, [EMAIL PROTECTED] (Robert Land) wrote: Yet this grep thing happened today - I know 64MB RAM is not quite what you would use nowadays - but I only have currently a few xterms running and no fancy stuff which would eat up my mem (swap is nearly untouched). I'm fairly sure

grep

2002-12-03 Thread Tepperis von der Ohe, Michael (LOGICA)
hallo zusammen, mir ist es ein bisschen peinlich, aber das suchen in der doku hat nichts gebracht, so trau ich mich doch und frag mal: mit grep PATTERN kann ich eigentlich recht gut umgehen, aber heute habe ich irgendwie ein brett vor dem Kopf, anyway: ich benötige sowas wie grep

Re: grep

2002-12-03 Thread Andreas Kretschmer
am 03.12.2002, um 15:28:16 +0100 mailte Tepperis von der Ohe, Michael (LOGICA) folgendes: grep NOT PATTERN grep -v PATTERN Andreas -- Andreas Kretschmer(Kontakt: siehe Header) Tel. NL Heynitz: 035242/47212 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net ===Schollglas

Re: grep

2002-12-03 Thread Sven Bergner
Hi Michael, On Tue, 3 Dec 2002, Tepperis von der Ohe, Michael (LOGICA) wrote: ich benötige sowas wie grep NOT PATTERN also alle zeilen, in denen PATTERN nicht vorkommt. grep -v -v steht für invert match. Gruß, Sven +-+ ! Sven

Re: grep

2002-12-03 Thread Kai Weber
* Tepperis von der Ohe, Michael (LOGICA) [EMAIL PROTECTED]: kann ich eigentlich recht gut umgehen, aber heute habe ich irgendwie ein brett vor dem Kopf, anyway: Scheinbar, denn aus grep(1): -v, --invert-match Invert the sense of matching, to select non-matching lines. also alle

Re: grep

2002-12-03 Thread Andreas Metzler
Tepperis von der Ohe, Michael (LOGICA) [EMAIL PROTECTED] wrote: [...] ich benötige sowas wie grep NOT PATTERN also alle zeilen, in denen PATTERN nicht vorkommt. grep -v PATTERN hth, cu andreas -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian

Re: grep

2002-12-03 Thread Andre Heine
Hi all, From: Sven Bergner [EMAIL PROTECTED] On Tue, 3 Dec 2002, Tepperis von der Ohe, Michael (LOGICA) wrote: ich benötige sowas wie grep NOT PATTERN grep -v -v steht für invert match. Es gibt noch grep -E 'regexp' oder egrep, dann kannst Du auch mit regulären Ausdrücken negieren

Re: grep

2002-12-03 Thread Eckhard Maass
* Andre Heine [EMAIL PROTECTED]: Es gibt noch grep -E 'regexp' oder egrep, dann kannst Du auch mit regulären Ausdrücken negieren :) So, so. Dann zeig mal wie. [^p][^a][^t][^t][^e][^r][^n] zählt nicht, da es nicht funktioniert. SEcki -- The broad mass of a nation... will more easily fall

Mit grep Deutsch - Englisch - Englisch Definition

2002-11-29 Thread Matthias Kirschner
Hi Matthias es gibt noch ein englisches Paket, so in der Oxford Art, also Englisch-Englisch, das Debian-Paket heißt dict-gcide. Habe ich erst jetzt testen können, weil mir 14,2 MB download zuviel war, vielleicht hilfts dir! danke jetzt noch ne Frage: kann ich da was mit grep machen sowas

Re: Mit grep Deutsch - Englisch - Englisch Definition

2002-11-29 Thread Ulf Rompe
Matthias Kirschner [EMAIL PROTECTED] writes: jetzt noch ne Frage: kann ich da was mit grep machen sowas in der richtung: dict Auto | dict-gcide ausgabe von dict Auto??? Warum nicht etwas wie dict -d dict-gcide Auto? Ob die Datenbank wirklich dict-dcide heißt, weiß ich nicht, weil ich die

Cat y Grep

2002-11-28 Thread Sergio Almenara Fernández
Seguramente será una tontería pero quería saber si al hacer: cat *.c | grep palabra puedo saber en cuál de los ficheros que visualiza está la palabra, ya que cuando realizo este comando me encuentra la palabra pero no sé en qué fichero está. Salu2.

Re: Cat y Grep

2002-11-28 Thread Miguel R. Penabad
Y por qué no haces grep palabra *.c Así te lo dice (grep -l sólo indica el fichero, no la línea con la coincidencia) Saludos Miguel On 28 Nov 2002 16:23:43 +0100 Sergio Almenara Fernández [EMAIL PROTECTED] wrote: Seguramente será una tontería pero quería saber si al hacer: cat *.c

Re: Cat y Grep

2002-11-28 Thread Marcelo Ramos
El(On) 28 Nov 2002 16:23:43 +0100 Sergio Almenara Fernández [EMAIL PROTECTED] escribió(wrote): Seguramente será una tontería pero quería saber si al hacer: cat *.c | grep palabra puedo saber en cuál de los ficheros que visualiza está la palabra, ya que cuando realizo este comando me

Re: Cat y Grep

2002-11-28 Thread igsainz-aja
Hola a todos, el 28 de nov de 02, a las 04:23 +0100, Sergio escribio: Seguramente será una tontería pero quería saber si al hacer: cat *.c | grep palabra puedo saber en cuál de los ficheros que visualiza está la palabra, ya que cuando realizo este comando me encuentra la palabra pero

RE: Cat y Grep

2002-11-28 Thread Fernando Poza
:-) :-) :-) Seguramente será una tontería pero quería saber si al hacer: :-) :-) cat *.c | grep palabra Prueba grep palabra *.c Y veras

cat * | grep foobar

2002-11-05 Thread Doma Smoljo
hallo alle, ist zwar nicht grad ne debian-spezifische frage, aber vielleicht werde ich trotzdem geholfen. ich will directory-inhalte nach foobar durchsuchen, mit cat * | grep foobar sehe ich zwar, dass foobar irgendwo vorhanden ist, doch hab keine ahnung woher. kenn jemand den richtigen befehl

RE: cat * | grep foobar

2002-11-05 Thread Sebastian Wolfgarten
Hallo Doma, eine billige Lösung wäre cat * | grep foobar *, wobei der gesamte Befehl eigentlich nicht die feine Art ist...Verzeichnisse werden beispielsweise auch angezeigt (in einer Warn-/Fehlermeldung). Gruß Sebastian -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org

Re: cat * | grep foobar

2002-11-05 Thread Jakob Lenfers
Doma Smoljo [EMAIL PROTECTED] writes: ich will directory-inhalte nach foobar durchsuchen, mit cat * | grep foobar sehe ich zwar, dass foobar irgendwo vorhanden ist, doch hab keine ahnung woher. Mh? Meinst Du 'grep foobar *'? Jakob -- (setq gnus-posting-styles '( ((message-mail-p

Re: cat * | grep foobar

2002-11-05 Thread Stefan Klein
On Wed, 6 Nov 2002 01:47:36 +0100 Doma Smoljo [EMAIL PROTECTED] wrote: hallo alle, ist zwar nicht grad ne debian-spezifische frage, aber vielleicht werde ich trotzdem geholfen. ich will directory-inhalte nach foobar durchsuchen, find ./ -name foobar find ./ -type f | grep foobar find

Re: cat * | grep foobar

2002-11-05 Thread Doma Smoljo
Mh? Meinst Du 'grep foobar *'? ja. wieder mal vor lauter wald... und was gelernt. thx doma -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme

Re: cat * | grep foobar

2002-11-05 Thread Johannes Berth
* Doma Smoljo [EMAIL PROTECTED]: ich will directory-inhalte nach foobar durchsuchen, mit cat * | grep foobar sehe ich zwar, dass foobar irgendwo vorhanden ist, doch hab keine ahnung woher. Das gibt den useless use of cat award. grep foobar * haette gereicht. kenn jemand den richtigen befehl

Re: dpkg -l | grep xxx y sources.list

2002-09-11 Thread Ruben Porras
2.- ¿Cómo puedo agregar cualquier dirección http o ftp al sources.list? Concretamente lo digo por los paquetes de KDE3, me metí en www.kde.org y ví que había una selección de paquetes en http://download.kde.org/stable/3.0.3/Debian/ me gustaría probar este escritorio, aunque estoy muy

dpkg -l | grep -v ^ii

2002-09-10 Thread Eric BERTHOMIER
Lisant la FAQ de Debian user french, je me suis tenté à lancer la commande dpkg -l | grep -v ^ii. Or j'ai plein de paquets qui répondent dans la 1ère colonne rc. Où puis je trouver l'explication complète de cette chose là ? Le menu du haut ne l'explique pas. Peut être ai je malheureusement

Re: dpkg -l | grep -v ^ii

2002-09-10 Thread Igor Genibel
On Tue, Sep 10, 2002 at 04:49:48PM +0200, Eric BERTHOMIER wrote: Lisant la FAQ de Debian user french, je me suis tenté à lancer la commande dpkg -l | grep -v ^ii. Or j'ai plein de paquets qui répondent dans la 1ère colonne rc. Où puis je trouver l'explication complète de cette chose là

Re: dpkg -l | grep -v ^ii

2002-09-10 Thread Eric BERTHOMIER
Igor Genibel wrote: On Tue, Sep 10, 2002 at 04:49:48PM +0200, Eric BERTHOMIER wrote: Lisant la FAQ de Debian user french, je me suis tenté à lancer la commande dpkg -l | grep -v ^ii. Or j'ai plein de paquets qui répondent dans la 1ère colonne rc. Où puis je trouver l'explication complète de

Re: dpkg -l | grep xxx y sources.list

2002-09-10 Thread Imobach González Sosa
El 10 de sep de 2002 (mar), puskas escribió: Tengo un par de dudillas tontas... 1.- Cuando hago un dpkg -l | grep xxx me salen los paquetes listados por dpkg que tengo (o he tenido instalados), en los que tengo instalados me sale ii al principio de cada línea, en los que he tenido sale rc

Re: Grep

2002-07-30 Thread Marlon Dutra
Em Seg 29 Jul 2002 18:55, Marcus Both escreveu: Oi, use o awk ou o cut, segue um exemplo abaixo... # grep marlon arquivo|awk '{print $2}' marlon ou # grep marlon arquivo|cut -d -f2 marlon Isso não me adianta porque a posição da combinação na linha é variável. Preciso de alguma coisa

Re: Grep

2002-07-30 Thread Eduardo Marcel Maçan
On Tue, 30 Jul 2002 10:02:56 -0300 Marlon Dutra [EMAIL PROTECTED] wrote: Em Seg 29 Jul 2002 18:55, Marcus Both escreveu: Oi, use o awk ou o cut, segue um exemplo abaixo... # grep marlon arquivo|awk '{print $2}' marlon ou # grep marlon arquivo|cut -d -f2 marlon Isso não me

Grep

2002-07-29 Thread Marlon Dutra
E aí pessoas, Eu tenho um arquivo de texto e estou passando um grep nele com uma expressão regular. Normalmente, o grep retorna a linha inteira a qual a expressão bate. O problema é que eu não quero a linha inteira, quero apenas a combinação. Exemplo: -- $ echo teste marlon teste arquivo

Re: Grep

2002-07-29 Thread Marcus Both
Oi, use o awk ou o cut, segue um exemplo abaixo... On Mon, 29 Jul 2002 17:45:15 -0300 Marlon Dutra [EMAIL PROTECTED] wrote: E aí pessoas, Eu tenho um arquivo de texto e estou passando um grep nele com uma expressão regular. Normalmente, o grep retorna a linha inteira a qual a expressão

Re: whats wrong with this grep?

2002-06-18 Thread Tim locke
Jun 9 00:15:31 144.51.17.1:53 - MY.NET.98.126:1221 UDP Jun 9 00:15:32 144.51.17.1:53 - MY.NET.98.126:1222 UDP #tally number of src ips $ grep '..:..:' scans.txt | cut -d '' -f 1 | cut -d ' ' -f 4 | cut -d ' :' -f 1 | tr -d ' ' | sort | uniq -c | sort -nr scan_src_ips_test.log #tally

whats wrong with this grep?

2002-06-16 Thread Tim locke
grep ..\/..\-..\:..\: oos.txt | cut -d \ -f 1 | cut -d \ -f 2 | cut -d \: -f 1 | sed s/\ //g | sort | uniq -c | sort -nr oos.log __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To UNSUBSCRIBE, email

Re: whats wrong with this grep?

2002-06-16 Thread Craig Dickson
begin Tim locke quotation: grep ..\/..\-..\:..\: oos.txt | cut -d \ -f 1 | cut -d \ -f 2 | cut -d \: -f 1 | sed s/\ //g | sort | uniq -c | sort -nr oos.log How do you expect anyone to know what's wrong with it if you don't tell us what you expect it to do? The main comment I have about

Re: whats wrong with this grep?

2002-06-16 Thread Tim locke
, but humans attempting to read this are at a disadvantage. Here's something I think (without actually testing) is functionally equivalent, but much easier to read: grep '../..-..:..:' oos.txt | cut -d '' -f 1 | cut -d ' ' -f 2 | cut -d ':' -f 1 | tr -d ' ' | sort | uniq -c | sort -nr oos.log So

Re: whats wrong with this grep?

2002-06-16 Thread Craig Dickson
does the input file (oos.txt) look like? I don't see how your script would apply to an apache access log, so I'm guessing this is some other program's log, but which one? If you still need help with this, please post a line or two of text that you expect to match the initial grep, and perhaps

Re: whats wrong with this grep?

2002-06-16 Thread Karsten M. Self
or two of text that you expect to match the initial grep, and perhaps a line or two from the same file that should _not_ match the grep, and we'll see if your script ought to work, or if there might be a simpler way to do it. Also, generally, it's easier to debug a script by breaking

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-14 Thread Matthias Fechner
Hallo Matthias, * Matthias Tresp [EMAIL PROTECTED] [13-06-02 21:31]: logout,... Wenn du einen font-server laufen lässt musst du den neu starten und dann logout-login machen, dann solltest du die neuen Fonts sehen. Aber mit deinem KDE Problem kann ich dir nicht weiterhelfen, da ich das zum

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-14 Thread Matthias Fechner
Hallo Matthias, * Matthias Tresp [EMAIL PROTECTED] [13-06-02 19:41]: ich verwende gezwungener maßen praktisch nur die true-type, also 14 schriften von «Andale Mono» bis «Webdings» mit eingestelltem zeichensatz iso8859-15. abgesehen, daß ich den euro nur auf der konsole aber weder in X11

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Hans Gerber
Hallo Matthias, Matthias Tresp [EMAIL PROTECTED] schrieb am Wed, 12 Jun 2002 21:41:22 +0200:: environment unter de_DE@euro macht noch probleme. das halte ich z.z. noch für... für was ??? Ach so, Dir fiel kein Wort für unbenutzbar ein ;-) Ich weiß nicht wie und wo Du Dein environment

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Matthias Tresp
Hans Gerber [EMAIL PROTECTED] schrieb am Donnerstag, 13. Juni 2002 09:10: Matthias Tresp [EMAIL PROTECTED] schrieb am Wed, 12 Jun 2002 21:41:22 +0200:: environment unter de_DE@euro macht noch probleme. das halte ich z.z. noch für... Ach so, Dir fiel kein Wort für unbenutzbar ein ;-) Ich

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Matthias Tresp
Uwe Kerstan [EMAIL PROTECTED] schrieb am Donnerstag, 13. Juni 2002 00:30: Matthias Tresp [EMAIL PROTECTED] [12-06-02 21:41]: auf meiner woody habe ich unter KDE allerdings nur ca 8 schriften zu auswahl. sind auch noch die truetype. also, was läuft da schief? wo fange ich an zu suchen?

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Matthias Fechner
Hallo Matthias, * Matthias Tresp [EMAIL PROTECTED] [12-06-02 21:41]: auf meiner woody habe ich unter KDE allerdings nur ca 8 schriften zu auswahl. sind auch noch die truetype. also, was läuft da schief? wo fange ich an zu suchen? Hmmm, nimm gnome, dann geht es bestimmt... Was sagt dir

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Matthias Tresp
Matthias Fechner [EMAIL PROTECTED] schrieb am Donnerstag, 13. Juni 2002 18:00: Hallo Matthias, hallo matthias ;-), * Matthias Tresp [EMAIL PROTECTED] [12-06-02 21:41]: auf meiner woody habe ich unter KDE allerdings nur ca 8 schriften zu auswahl. Hmmm, nimm gnome, dann geht es

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-13 Thread Matthias Tresp
noch eine ergänzung: inzwischen habe ich auch einmal das verzeichnis ~/.kde/share/fonts/ mit schriften gefüllt. ein beherztes mkfontdir erzeugte wie erwünscht fonts.dir und font.alias... logout,... auch das hat nix gebracht. müßte das nicht wenigsten für diesen user die schriften bringen?

fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-12 Thread Matthias Tresp
hi liste... fslsfonts -server unix/:7100 | grep iso8859-15 bringt bei mir seitenweise schriften. meine /etc/XF86Config-4 enthält die zeilen: Section Files FontPath unix/:7100 FontPath /usr/lib/X11/fonts/100dpi/:unscaled FontPath /usr/lib/X11/fonts/75dpi

Re: fslsfonts -server unix/:7100 | grep iso8859-15

2002-06-12 Thread Uwe Kerstan
* Matthias Tresp [EMAIL PROTECTED] [12-06-02 21:41]: auf meiner woody habe ich unter KDE allerdings nur ca 8 schriften zu auswahl. sind auch noch die truetype. also, was läuft da schief? wo fange ich an zu suchen? 8 Schriften? Doch so viel... Ich hatte manchmal nur 3 oder 4. Ich denke KDE

dpkg -l $args | grep ^ii

2002-05-31 Thread Oleg
Hi A question about good old dpkg -l $args | grep ^ii : Is there any way to convince dpkg not to shorten the second field of the output, i.e. make sure the full names of packages are displayed? Thanks Oleg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe

Re: dpkg -l $args | grep ^ii

2002-05-31 Thread Ben White
try COLUMNS=132 dpkg -l instead, that'll have more space to have each field in the table bigger. On Fri, 31 May 2002, Oleg wrote: Hi A question about good old dpkg -l $args | grep ^ii : Is there any way to convince dpkg not to shorten the second field of the output, i.e. make sure

pytanko - grep

2002-05-24 Thread Jacek Maria Jackowski
mam na zaliczenie w szkółce trzasnąć programik w C do wyszukiwania tekstu w pliku z różnymi tam opcjami. pomyslałem sobie że moze przejrzę źródla grepa. tylko nie wiem gdzie one są bo nigdy mnie źródełka nie interesowały // Jacek Jackowski \\ //

Re: pytanko - grep

2002-05-24 Thread Michał Łodziński
Dnia pią 24. maj 2002 17:22, Jacek Maria Jackowski napisał: mam na zaliczenie w szkółce trzasnąć programik w C do wyszukiwania tekstu w pliku z różnymi tam opcjami. pomyslałem sobie że moze przejrzę źródla grepa. tylko nie wiem gdzie one są bo nigdy mnie źródełka nie interesowały

Re: pytanko - grep

2002-05-24 Thread Krzysztof Krzyzaniak
interesowały apt-get source grep eloy -- ... , . , | _ __. _.|_| |_| Krzysztof eloy Krzyżaniak [EMAIL PROTECTED] |(_) /_(_] | | Oficjalna strona kabaretu Loża 44 http://loza44.topnet.pl/ Sami cię podrapiemy, ty tylko pokazuj gdzie! A odwiążemy cię później

dselect fantme aprs grep.

2002-04-29 Thread Charles Plessy
Salut la liste, après avoir fait grep named * dans /var/log, je me retrouve avec ceci dans ma konsole : dselect - main package listing (avail., priority)mark:+/=/- verbose:v help:? EIOM Pri Section Package Inst.verAvail.ver Description syslog.0:Apr 29 06:21:40 moulinette named

Re: grep question

2002-04-09 Thread Johann Spies
On Mon, Apr 08, 2002 at 11:31:41AM -0500, dman wrote: That's kinda tricky. Suppose you left the brackets out. ps would have given you lines with ... Thank you dman and all the others. Enjoy your day. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie,

grep question

2002-04-08 Thread Johann Spies
In the grep's info page I find the following which works as said. But I want to know why. What does the [c] do in this case? 7. Why do people use strange regular expressions on `ps' output? ps -ef | grep '[c]ron' If the pattern had been written

Re: grep question

2002-04-08 Thread Andrew Perrin
The [c], I believe, is a character class containing only the letter c. If you wanted to match cron or tron you could use '[ct]ron'. In this case, the only effect is that the ps output for the grep process won't match its own pattern, so you don't get the spurious item. ap

Re: grep question

2002-04-08 Thread Rick Pasotto
On Mon, Apr 08, 2002 at 04:41:08PM +0200, Johann Spies wrote: In the grep's info page I find the following which works as said. But I want to know why. What does the [c] do in this case? It tells grep to find four character words that start with the letter 'c' and end with the three letters

Re: grep question

2002-04-08 Thread David Z Maze
Johann Spies [EMAIL PROTECTED] writes: In the grep's info page I find the following which works as said. But I want to know why. What does the [c] do in this case? 7. Why do people use strange regular expressions on `ps' output? ps -ef | grep '[c]ron

Re: grep question

2002-04-08 Thread Ulf Rompe
Johann Spies [EMAIL PROTECTED] writes: In the grep's info page I find the following which works as said. But I want to know why. What does the [c] do in this case? [...] ps -ef | grep '[c]ron' It defines a character class containig a c as it's only member. The expression [cp]ron

Re: grep question

2002-04-08 Thread dman
? | | ps -ef | grep '[c]ron' | | If the pattern had been written without the square brackets, it | would have matched not only the `ps' output line for `cron', but | also the `ps' output line for `grep'. | | --- That's kinda tricky. Suppose you left

Re: grep question

2002-04-08 Thread Colin Watson
'cron'. Crucially, '[c]ron' doesn't match itself. I often find it more convenient to use the 'c' flag to ps, such as 'ps acx | grep cron'. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble

Re: grep question

2002-04-08 Thread Matijs van Zuijlen
'. 7. Why do people use strange regular expressions on `ps' output? ps -ef | grep '[c]ron' If the pattern had been written without the square brackets, it would have matched not only the `ps' output line for `cron', but also the `ps' output line for `grep

a grep question

2002-03-05 Thread justin cunningham
Hi, I read through man on find and grep and am trying to search for an ip in some files contained in folders but every time I type in grep options it just hangs. What am I doing wrong? Conversely i can go into /site.com/cgi-bin then cat any.cgi | grep 10.0.0.1 and will get the desired result

Re: a grep question

2002-03-05 Thread Michael Jinks
On Tue, Mar 05, 2002 at 12:52:44PM -0800, justin cunningham wrote: Hi, I read through man on find and grep and am trying to search for an ip in some files contained in folders but every time I type in grep options it just hangs. What am I doing wrong? We don't know unless you show us

Re: a grep question

2002-03-05 Thread Pete Harlan
Well since you don't show what command you actually typed, it's hard to tell you what you did wrong. But this might give you what you're looking for: find /etc -type f | xargs grep -H '10\.' where /etc is the root of whatever tree you want, obviously, and -type f tells find to only list

Re: a grep question

2002-03-05 Thread Craig Dickson
begin justin cunningham quotation: Hi, I read through man on find and grep and am trying to search for an ip in some files contained in folders but every time I type in grep options it just hangs. What am I doing wrong? Hard to be sure, since you haven't shown us the command line you're

Re: a grep question

2002-03-05 Thread DvB
justin cunningham [EMAIL PROTECTED] writes: Hi, I read through man on find and grep and am trying to search for an ip in some files contained in folders but every time I type in grep options it just hangs. What am I doing wrong? Conversely i can go into /site.com/cgi-bin then cat any.cgi

RE: a grep question [and now an ftp perm ?]

2002-03-05 Thread justin cunningham
Thanks mike, I found what I needed from info i.e. grep -r '10.x' /path/to/be/searched Help says try grep -ld 10.x I tried changing syntax to grep -l-directories 10. or l-directories=read or 'read' and so on but got nothing. What is correct syntax anyways? On a different note someone just

Re: a grep question

2002-03-05 Thread David Jardine
On Tue, Mar 05, 2002 at 12:52:44PM -0800, justin cunningham wrote: Hi, I read through man on find and grep and am trying to search for an ip in some files contained in folders but every time I type in grep options it just hangs. What am I doing wrong? Conversely i can go into /site.com/cgi

Re: a grep question

2002-03-05 Thread Kurt Lieber
On Tuesday 05 March 2002 03:52 pm, justin cunningham wrote: I want to search for the 10.ip in the files from the site's root directory. cd to the root directory and type: grep -r 'your grep search term here' ./* the '-r' flag tells grep to search directories recursively. --kurt

Re: a grep question

2002-03-05 Thread Tom Cook
Michael Jinks wrote: [snip] find /path/to/cgi-bin -type f -exec grep '10.0.0.1' {} \; If I were doing it this way I would use: find /path/to/cgi-bin -type f -exec grep -H '10.0.0.1' {} \; or find /path/to/cgi-bin -type f -exec grep '10.0.0.1' {} \; -print so you know which files the matches

Re: a grep question [and now an ftp perm ?]

2002-03-05 Thread Oki DZ
justin cunningham wrote: ... I've been reading a linux security book and I believe I recall it saying I'd need to specify an 'unmask' (not sure the spelling here) and subtract bits from 777 to lock down the user's access but that books at home :( There are many ways of doing things in Linux

Re: a grep question

2002-03-05 Thread Vineet Kumar
* Craig Dickson ([EMAIL PROTECTED]) [020305 16:13]: When searching only a single directory, without its subdirectories, you probably don't really need find; it would do as well in most cases just to redirect grep's stderr to /dev/null, like this: grep pattern to seach for files 2/dev/null

<    5   6   7   8   9   10   11   12   >