Hi,

Lluís Batlle wrote:

> I don't know what the nix developer intended to do, but I think nix
> never worked for me as a 'grep' after -qa '*'.

Grepping the output of nix-env should certainly work.

-q has never supported regular expressions.  The '*' is a special case (for
"match everything"), which unfortunately suggests that it does support regexps.

Regexps would be nice to have however.  They could be supported by -q / -qa
directly, there would be no need for something like a -w flag.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to