4 ms·
As an alternative to (npm -g)'ing here some potentially useful coreutils one-liners I've been using for a similar purpose: - Dump all .py files into out.txt (f
by ghgr 2y ago
As an alternative to (npm -g)'ing here some potentially useful coreutils one-liners I've been using for a similar purpose:
- Dump all .py files into out.txt (for copy/paste into a LLM)
> find . -name "*.py" -exec cat {} + > out.txt
- Sort all .py files by number of lines
> find . -name '*.py' -exec wc -l {} + | sort -n
- Diti 2y agoI was going to comment this. “What’s wrong with `cat`”, whose job is literally to concatenate files? Or even [uncompressed] `tar` archives, which are basically just a list of files with some headers?
- scbrg 2y agoNever underestimate the node community's willingness to ignore the existing tech stack and reinvent 50 year old tools. It's peak NIH.