Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

DCEM's bash script howto

4 Byte hinzugefügt, 12:23, 8. Jan. 2020
/* expansions: off - EOF needs to be quoted */
==== expansions: off - EOF needs to be quoted ====
'EOF' is quoted => the lines in the here-document are not expanded
<codenowiki>
cat >> /etc/nginx/conf.d/seafile.conf << EOF # 'EOF' is quoted => expansions: off
location / {
[...]
}
EOF</codenowiki>
<code style="white-space: nowrap">$host</code> will not be expanded
610
Bearbeitungen