That does the trick:
ls -R1 $PWD | while read l; do case $l in *:) d=${l%:};; "") d=;; *) echo "$d/$l";; esac; done | grep -i ".txt"
But it does that by sinning"sinning" with the parsing of lsls
, though, which is forbiddenconsidered bad form by baby Jesux,the GNU, and the Ghostscript communities.