Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
1vuio0pswjnm7
on July 6, 2023
|
parent
|
context
|
favorite
| on:
Tell HN: People forget that you can stick any data...
"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:
Or just use exec.