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
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
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]
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
/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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
* 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
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
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
* 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
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
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
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.
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
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
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
:-)
:-)
:-) Seguramente será una tontería pero quería saber si al hacer:
:-)
:-) cat *.c | grep palabra
Prueba
grep palabra *.c
Y veras
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
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
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
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
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
* 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
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
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
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à
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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?
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
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
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?
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
* 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
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
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
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 \\
//
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
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
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
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,
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
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
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
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
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
?
|
| 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
'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
'.
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
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
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
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
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
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
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
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
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
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
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
* 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
901 - 1000 of 1159 matches
Mail list logo