bash 1-liner to strip comments from AI generated code
$ pbp | grep -v "^ *#" | pbcpbpis paste to stdout
grep -v "^ *#" Filter all lines that have only spaces before a #.
pbcpbc is write stdin to the copy buffer
Happy hacking
$ pbp | grep -v "^ *#" | pbcpbpis paste to stdout
grep -v "^ *#" Filter all lines that have only spaces before a #.
pbcpbc is write stdin to the copy buffer
Happy hacking