Hacker News new | past | comments | ask | show | jobs | submit login

Even shorter, works unmodified with both C and C++, and doesn't recompile unless necessary:

  //usr/bin/make -s "${0%.*}"&&exec "${0%.*}" "$@";exit



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

Search: