Find all files in the current directory (and its subdirectories) with a ".txt" extension and execute the command "sed -n '1s/.*/echo "\0"/ep' {}" on each of them.
find ./ -name "*.txt" -and -exec sed -n '1s/.*/echo "\0"/ep' {} \;