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

While this seems mainly useful as an academic exercise, the `printf "#include <unistd.h>" | gcc -E - | grep size_t` bit to easily grep in header files was worth the read.


indeed. under bash, it can be shortened to

cpp <<< "#include <stdio.h>"|grep size_t

which is super convenient




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: