Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Substitution question



Can somebody tell me what type of patterns are supported in l, in the
$x:s/l/r syntax?

I'd like to do something like:

$x:gs/[^A-Za-z0-9]/_

to replace all characters except for the ones listed with underscore.



Messages sorted by: Reverse Date, Date, Thread, Author