2017年8月22日

Bash shell中的双引号与单引号用法示例

摘要: #!/bin/bash fruit=apricot area=beijing #输出为apriot\nbeijing echo "$fruit\n$area" #输出为apriot\beijing echo "$fruit\\$area" #输出为aprioteijing echo -e "$fru 阅读全文

posted @ 2017-08-22 06:15 佛哥 阅读(473) 评论(0) 推荐(0) 编辑

导航