Re: du

[prev] [thread] [next] [lurker] [Date index for 2005/09/30]

From: A. Pagaltzis
Subject: Re: du
Date: 18:37 on 30 Sep 2005
* Aaron Crane <hateful@xxxxxxxxxx.xx.xx> [2005-09-30 18:30]:
> Or if the extensions have more than a single character, bash
> lets you do this:
> 
>  shopt -s extglob   # highly recommended anyway
>  ls *.@(c|cc|cpp|h|o)

On that tangent, trying to get the !() extended pattern to do
what you mean is also hateful (although I understand how to, but
the mental gymnastics are still painful).

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
There's stuff above here

Generated at 16:00 on 04 Oct 2005 by mariachi 0.52