Skip to main content
The 2024 Developer Survey results are live! See the results
clarify why this is a bad idea
Source Link
Adam Katz
  • 15.7k
  • 5
  • 72
  • 90

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.

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 with the parsing of ls, though, which is forbidden by baby Jesux, GNU, and the Ghostscript.

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" with the parsing of ls, though, which is considered bad form by the GNU and Ghostscript communities.

Source Link

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 with the parsing of ls, though, which is forbidden by baby Jesux, GNU, and the Ghostscript.