| 符号 | 识别命令 | 识别变量 |
|---|---|---|
| 间隔号 | √ | √ |
| 双引号 | × | √ |
| 单引号 | × | × |
具体结果以下脚本输出内容
|
|
结果
<!DOCTYPE html>
<meta charset=”utf============间隔号识别命令和变量
curl http://caoyongjun.com
============双引号不识别命令,但变量
curl http://$url
============单引号不识别变量和命令
Java程序员
缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: true
link: false
permalink: false
excerpt: false
categories: false
tags: true