> On 11/30/2012 10:52 AM, Andrei POPESCU wrote: > >On Vi, 30 nov 12, 00:21:04, Kevin Holly wrote: > >>Für mehrere Suchbegriffe immer ein einziges grep pro Suchbegriff verwenden. > >Warum denn? On Vi, 30 nov 12, 22:19:00, Kevin Holly wrote: > Weil der erste Parameter bei grep der Suchbegriff (Pattern) ist und > der zweite Parameter (File) (ist optional) eine Dateiangabe ist: Ausser -e (hab ich nicht gewusst, danke) kann man auch ein komplexeres regexp verwenden: $ dpkg -l | grep '^ii.*i386' ;) lG, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature