I need to fill all files with a specific filename (recursively) with a text.In zsh this can be done withecho SomeText > **/TheFileNameI search generic solutions for sh-compatible and/or tcsh shells.Is there a shorter/easier way than the following command?find . -name TheFileName -print0 | xargs -0 sed -n -i -e '1c\nSomeText'
zsh's echo SomeText >> **/filename in other shells
shell;files;find;xargs;replace
find . -name TheFileName -type f -exec sh -c 'for i do     echo SomeText > $i; done' sh {} +