Shell Script

sh, bash, zsh and so on

date

2020-12-26

version

1

Heredoc syntax:

cat <<EOF
... Heredoc content
EOF

注解

Shell variables in heredoc will be expanded

Avoid shell expanding variables in heredoc:

cat <<'EOF'
... Heredoc ${content}
EOF

Replace ext in filename

${v%.md}.rst