I have a directory with files. The files all have extensions. The extensions falls in 3 types:
I want to print all files that do not end in
I already know how to list all files that does not end in
set extended_glob print ^*.foo
but how to combine that negation to also exclude
print ^(*.foo & *.bar)
does not work. Man page did not help with this.
how to achieve the desired behaviour?