help needed in ls command

Hi all,

i need to write an ls command which will pick up
ind_01.txt/pak_01.txt from

ind_01.txt
pak_01.txt
usa_01.txt

files in a directory..

i wrote a ls command by storing ind and pak in 2 variables and listing it. Its working fine. But the pattern to be matched should be sent in command line argument and so it should be a single variable.

i want a regular expression which will store ind/pak_01.txt. so that i can sent it in command line argument

please help..

Thanks In Advance.

Anju

This will match ind.txt and pak.txt but will also match other combinations of these letters.
If you only have these two files in your directory, it will work for you.

 ls [ip][na][dk].txt