hidy-ho frage: gibts sicha irgendwo, nur wo und unter welchem namen ich will, das bei meiner ausgabe alle doppelten zeilen nur einmal ausgegeben werden. (ich grep hier gerade meine php-skripten durch und will alle include dateien sehen, es interessiert mich halt nur, OB eine datei benötigt wird oder nicht, und nicht wie oft sie vorkommt) thx im voraus mfg matt --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
On 27 Oct 2000, at 11:19, Matthaeus Weiss wrote:
hidy-ho
frage: gibts sicha irgendwo, nur wo und unter welchem namen
ich will, das bei meiner ausgabe alle doppelten zeilen nur einmal ausgegeben werden. (ich grep hier gerade meine php-skripten durch und will alle include dateien sehen, es interessiert mich halt nur, OB eine datei benötigt wird oder nicht, und nicht wie oft sie vorkommt)
man sort, man uniq a) grep pattern filelist|sort -u b) grep pattern filelist|sort|uniq Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
On Fri, 27 Oct 2000 11:19:56 +0200, Matthaeus Weiss
ich will, das bei meiner ausgabe alle doppelten zeilen nur einmal ausgegeben werden.
uniq --- "It took the computing power of three C-64s to fly to the Moon. It takes a 486 to run Windows 95. Something is wrong here." -- Anonymous --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (3)
-
Andreas.Kyek@d2mannesmann.de
-
j.stifter@medres.ch
-
matt_weiss@gmx.net