Re: soundcard auto-probe

From: Michele Andreoli (m.andreoli@tin.it)
Date: Tue Mar 04 2003 - 18:32:39 CET

  • Next message: Renaud PASCAL: "Re: soundcard auto-probe"

    On Tue, Mar 04, 2003 at 05:47:24PM +0100, Renaud PASCAL nicely wrote:
    >
    > >For example: if I run now the command "cat /proc/pci| grep rev"
    > >if found that:
    > >
    >
    > BTW, you're in a UUOC, no need to push 2 times,
    > just do it : grep rev /proc/pci
    >

    Difference from (1) "cat /proc/pci| grep rev" and (2) "grep rev /proc/pci",
    despite of the same material result, is important in my filosophy.

    Solution (2) requires more disk space in the user's brain, because here "grep"
    is used with two parameters. The user must recall the right syntax:

            "grep rev /proc/pci" OR "grep /proc/pci rev" ?

    And if you finally pretend to do a second filtering on the
    keyword "ethernet"?

    In this case, my usage is more symmetric of yours because I will write:

                    cat /proc/pci | grep rev | grep -i ethernet

    while you, probabily, will write:

                    grep rev /proc/pci | grep -i ethernet

    or, even worse, you will introduce the AND option in the grep (there is one?)

    Michele

    --
    Physics is like sex: it may give some practical
    results, but that's not why we do it"  (Richard Feynman)
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
    For additional commands, e-mail: mulinux-help@sunsite.dk
    

  • Next message: Renaud PASCAL: "Re: soundcard auto-probe"

    This archive was generated by hypermail 2.1.6 : Tue Mar 04 2003 - 18:33:28 CET