Re: "find /var/log -type f | xargs grep kmod" opens garbled dselect window

From: Wolfgang Pfeiffer (roto_at_gmx.net)
Date: 02/18/04

  • Next message: Monique Y. Herman: "Re: mixing apt-get and aptitude"
    To: debian-user-list <debian-user@lists.debian.org>
    Date: Wed, 18 Feb 2004 23:18:34 +0100
    
    

    Hi Vineet

    On Wed, 2004-02-18 at 21:10, Vineet Kumar wrote:
    > * Wolfgang Pfeiffer (roto@gmx.net) [040218 11:59]:
    > > What am I doing wrong?
    >
    > does the output of
    >
    > find /var/log -type f
    >
    > look correct?

    yes

    > How about
    >
    > find /var/log -type f | xargs echo grep kmod

    yes, looks OK

    >
    > I don't really understand what malfunction you're seeing, but perhaps
    > these techniques can help narrow down the cause.
    >
    > Also, for a simpler command, try
    >
    > grep -r kmod /var/log

    Unusable here. Similarly garbled dselect window.

    >
    > "grep -rli"

    Cool. That works. Seems the problem comes as soon as "contents" of a
    matching file is shown by grep (find?) in /var/log

    Bizarre:
    find /etc -type f | xargs grep modules
    works like a charm --- don't know what's going on there ...

    Thanks for your help, Vineet.

    Best Regards
    Wolfgang

    > is a pattern my fingers have become accustomed to typing in
    > order to do a case-insensitive search through a directory tree, listing
    > only filenames, not matching lines.
    >
    > good times,
    > Vineet
    > --
    > http://www.doorstop.net/

    -- 
    Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Monique Y. Herman: "Re: mixing apt-get and aptitude"