Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a very simple bash function for this (filecontens), including ignoring files based on gitignore & binary files etc. Piped to clipboard and done.

All these other ways seem unnecessarily complicated...



I also feel like this can be done in a few lines of shell script.

Can you share your function, please?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: