Re: can't the shell do a better job

From: Aaron Hall (lisps_at_vitaphone.net)
Date: 01/08/05

  • Next message: David Garamond: "Re: locatedb is world readable"
    Date: Sat, 8 Jan 2005 00:16:11 -0600 (CST)
    To: Debian-User <debian-user@lists.debian.org>
    
    

    On Fri, 7 Jan 2005, Ron Johnson wrote:
    > On Fri, 2005-01-07 at 19:54 -0600, Aaron Hall wrote:
    >> * bash-style process substitution: diff =(sort file1) =(sort file2)
    >> instead of:
    >> sort file1 > file1.sorted
    >> sort file2 > file2.sorted
    >> diff file1 file2
    >
    > Well that's spiffy...

    It'd be more spiffy if I'd gotten the last line correct. :)

         diff file1.sorted file2.sorted

    - Aaron

    -- 
    Aaron Hall           :         "Let us cling to our legends, sir;
    ahall@vitaphone.net  :          They are the spiritual side of facts."
                          :                     -- Harley Granville-Barker
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David Garamond: "Re: locatedb is world readable"