Portál AbcLinuxu, 6. listopadu 2025 19:13
cat <<EOF foo EOFkterý v shellu funguje takto:
$ cat <<EOF > foo > EOF foopřepsán do Makefile:
test:
@cat <<EOF \
foo \
EOF
nefunguje:
$ make test cat: foo: No such file or directory cat: EOF: No such file or directory make: *** [test2] Error 1zřejmě tam mám hloupou chybu, ale nevím kde.
define nl endefto make převede na mezeru
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.