Hacker News new | ask | show | jobs
by kanyethegreat 1188 days ago
nice. general question: how many lines of code (at 120 char col len) could you send in one prompt?

also, the entire thing is literally 60 lines of python. sometimes i don't get what gets upvoted on HN anymore

1 comments

> also, the entire thing is literally 60 lines of python.

Which is a lot as you can do this in one line of bash. And have in the past for other reasons.

Something like;

     find . -name "*.py" -exec cat {} + > output.txt
Looks like it does this to me:

   for file in `git ls-files`; do echo $file; cat $file; echo; echo -------; done