Reputation: 11112
I want do something like this:
python *.py > *.std
I tried doing:
python (*).py > \1.std
but that is wrong,
Upvotes: 1
Views: 58
Reputation: 799310
You don't. You process them in a loop.
for f in *.py
do
python "$f" > "${f%.py}".std
done
Upvotes: 2