oops! turns out the parens weren't needed

ls -QF |grep -v '\"/\|@\|\$'

On Fri, Jun 6, 2008 at 2:53 AM, Mark David Dumlao <[EMAIL PROTECTED]>
wrote:

> On Fri, Jun 6, 2008 at 1:55 AM, andrelst <[EMAIL PROTECTED]> wrote:
>
>> Cmon guys, you are making this over complicated :)
>>
>> Quoting the filename is the key here.
>>
>>  $ ls -lQ | egrep ^- | awk -F\" '{print $2}'
>>
>
> how's this?
> ls -QF PATH|grep -v '\"\(/\)\|\(@\)\|\$'
>
> 1) makes ls tell you what the file type is.
> 2) removes special filetypes from selection.
> 3) quotes the files
>
> --
> thing.




-- 
thing.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to