I would like to find all files that end with .c
, .R
, or .Rd
. I tried
find . -iname "*.[cR]" -print
which gives all files that end with .c
or .R
. How can I additionally get .Rd
files as well? I know that []
only matches one character, but I couldn't adjust it to provide .Rd
files as well (tried to work with |
or option -regex
etc.)