how do I do groups for unix commands -


i want this:

python *.py > *.std 

i tried doing:

python (*).py > \1.std 

but wrong,

you don't. process them in loop.

for f in *.py   python "$f" > "${f%.py}".std done 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -