Re: For the love of GOD!!!

From: Andrew Nelson (freeandy_at_gmail.com)
Date: 07/22/05

  • Next message: 2501: "Re: verboseł example"
    To: debian-user@lists.debian.org
    Date:  Fri, 22 Jul 2005 12:01:45 -0500
    
    

    Bob Proulx wrote:
    > Andrew Nelson wrote:
    >
    >>Andrew Nelson wrote
    >>
    >>>I have no idea what the cause might be but I guess you could do something like
    >>>
    >>>ls -la | awk '$9 ~ /^\./ {print}'
    >>>
    >>>Although you would then loose colors.
    >>
    >>You could also do something along these lines.
    >>
    >>ls -lda `ls -a1 | awk '/^\./ {print}'`
    >
    >
    > Setting your collating sequence explicitly is better.
    >
    > export LC_COLLATE=C
    >

    I thought the question was to get rid of non "." files all together not simply
    to put "." files and the top and non "." files at the bottom. My mistake.

    Although it seems this is far more difficult that it should be to remove all non
    "." file from the output of ls. Does any one know of a better way?

    //andy

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: 2501: "Re: verboseł example"

    Relevant Pages