Y
Hacker News
new
|
ask
|
show
|
jobs
by
gibsjose
3488 days ago
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.
1 comments
112233
3488 days ago
indeed. under bash, it can be shortened to
cpp <<< "#include <stdio.h>"|grep size_t
which is super convenient
link
cpp <<< "#include <stdio.h>"|grep size_t
which is super convenient