bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create bash-pattern to exclude a matching param in param expa


From: Linda Walsh
Subject: Re: How to create bash-pattern to exclude a matching param in param expansion&matching?
Date: Mon, 28 Oct 2013 15:59:44 -0700
User-agent: Thunderbird

On 10/28/2013 3:47 PM, Chris F.A. Johnson wrote:
Is there a better bash-pattern that doesn't use tr and such?

ls !(*-IGN-*)
---
Seems perfect...

Had a slightly more complex usage (filtering MS packages) but
it seems to work:
ls !(*_@(en-us|none)*)

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]