How?
EDIT: Ok, now I got it. Boy that was a wild ride.
How?
EDIT: Ok, now I got it. Boy that was a wild ride.
Edit: rewording and typos.
h = "hello" .. utf8.char(160) .. "world"
f = io.open("Makefile","w")
f:write(h,":\n")
f:close()
f = io.open(h .. ".c","w")
f:write([[
#include <stdio.h>
int main(void)
{
puts("Hello, world!");
return 0;
}
]])
f:close()
Pretty straightforward.1. Set up your compose key on linux(Top right corner settings->system settings->keyboards->shortcut->typing->Compose key(choose an appropriate one)).
2. Whenever you need to type breaking space instead type (compose key + spacebar + spacebar). This puts a non-breaking space there instead. That's it.
3. Create file -> sudo nano hello(compose key + spacebar + spacebar)world.c
4. Paste the code to execute.
5. Makefile-> hello(compose key + space + space)world:
6. make
7. ./hello world (pressing tab will recognise the executable automatically).
NOTE: Don't do this ever in any production code or just ever. This hack can take up hours to resolve and a lot of frustration which could have better been spent on fixing something meaningful. This is a frowned upon practice. The only cool part is that your directory can have two files with whose name look exactly the same.