[-] EuAndreh@programming.dev 2 points 4 days ago

I like it, thanks :)

[-] EuAndreh@programming.dev 2 points 4 days ago

AFAICT, not really, looks line POSIX sh at a glance. Just don't forget to : <<'EOF' instead of : <<EOF.

But : is arguably simpler than cat, one fewer fork/exec call plus no open(2) on /dev/null.

[-] EuAndreh@programming.dev 2 points 4 days ago

Oops, renamed the www dir, should be back now.

[-] EuAndreh@programming.dev 4 points 5 days ago* (last edited 5 days ago)

C89, AKA ANSI C famously only supports /* */, having // as a cross-pollinated idea from C++.

[-] EuAndreh@programming.dev 0 points 5 days ago

No notepad.exe, nvi: 'a,s/^/# /.

[-] EuAndreh@programming.dev 1 points 5 days ago

I use this only when developing, mostly while debugging. IIRC I've never commited code like this.

8
submitted 5 days ago* (last edited 5 days ago) by EuAndreh@programming.dev to c/programming@programming.dev

Back writing in my website.

EuAndreh

0 post score
0 comment score
joined 2 weeks ago