This got... long... and complicated. But I think it's a really good demonstration of getting redo to do complicated things elegantly. At least, I hope it is.
4 lines
75 B
Text
4 lines
75 B
Text
rm -f *~ .*~
|
|
for d in */clean.do; do
|
|
echo "${d%.do}"
|
|
done | xargs redo
|