Find all files with a ".txt" extension in the current directory and its subdirectories, and execute the awk command to print the first field of each file.
find ~ -iname "*.txt" -exec awk 'END {print $1}' {} \;