3 ms·
I did not do the method below. Instead, I wrote a script to generate the filename with the non-breaking space where I needed it. Edit: rewording and typos.
by spc476 9y ago
I did not do the method below. Instead, I wrote a script to generate the filename with the non-breaking space where I needed it.
Edit: rewording and typos.
- abhishekjha 9y agoAny way I can see the script? Looks like I am still learning and ended up taking a longer route.
- spc476 9y agoIt's Lua 5.3: 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.