3 ms·
C programmers on Unix somehow don't get confused by the POSIX shell: $ foo-bar() > { > echo 42 > } $ foo-bar 42 or Make: OBJ_COMMON := commo
by kazinator 6y ago
C programmers on Unix somehow don't get confused by the POSIX shell:
$ foo-bar()
> {
> echo 42
> }
$ foo-bar
42
or Make:
OBJ_COMMON := common.o
OBJ-$(CONFIG_FOO) += foo.o foo-tab.o
OBJ-$(CONFIG_BAR) += bar.o
OBJS := $(COMMON_OBJS) $(OBJ-y)
even though foo-bar and OBJ-y look like a C subtraction.
C programmers on Unix came up with this stuff themselves.