The workaround is to use brace expansion

    grep function *.{c,h}

On Fri, Oct 2, 2015 at 10:54 AM, Greg Reagle <[email protected]> wrote:

> I didn't find mention of this non-feature in the documentation or github
> issues, but maybe I missed something.
>
> In bash and dash, this will work
>    grep function *.[ch]
> but it will not work in fish.
>
> Does fish have some sort of equivalent?  Is there another way to achieve
> the same effect with an external command?
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>



-- 
*Glenn Jackman*
Senior Software Developer

*Pythian - Love your data*
[email protected]
Tel: +1 613 565 8696 Ext. 1478
Mobile: +1 613 808 4984
www.pythian.com

-- 


--



------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to