8/13 In tcsh, how do you get * to include subdirectories? I want to do
something like perl -p -i -e 's/foo/bar/g' **.c
and have the command executed on ./*.c, */*.c, */*/*.c and so on.
\_ You can do something like:
find . -name '*.c' | xargs perl -p -i -e 's/foo/bar/g'
might have to play around with that, I haven't tried it -niloc
\- you cannot do zsh-style ** recusive globbing in tcsh.
rather than doing something really ugly
use find | xargs. there are also various emacs-heavy ways to
do this. --mr emacs&&tcsh
do this. --mr emacsbitch |