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

"All you have to do is make sure you append an explicit 'exit' to the end of your program before your new 'data section', so that bash won't parse any of the 'data section'."

Or just use exec.

     exec tail -c [number of bytes for the binary] $0


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

Search: