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

Yes, although no link points to it :)

Here's the file:

https://misc.l3m.in/txt/createfile.sh

I use it like this:

    ./createfile.sh file_name  # without the extension!
I then edit the file using vim, save it, and it's published :)

(the three first bytes the bash script write to the txt file is the BOM, used by the browser to know that it's dealing with utf-8 - https://en.wikipedia.org/wiki/Byte_order_mark)



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

Search: