$(wildcard *.py)

Suppose that I have the above list of file names. I want to replace
any .py file by the coresponding .sh file if it exists.

That is,

If I have the following files,

a.py a.sh b.py

I want to get the following files

a.sh b.py

Could somebody show me how to do it?


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to