`
yaojingguo
  • 浏览: 202725 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Linux Quoting

阅读更多
Single forward quotes inhibit filename and variale expansion and causes the quoted content to be treated as a word.

Double quotes also cause quoted content to be treated as a whole. But double quotes allow expansion. The following code will print "$lang ruby".

::
    lang=ruby
    single='$lang'
    double="$lang"
    echo $single $double

Backward single quotes pass the quoted content to a subshell for evulation.

分享到:
评论

相关推荐

    Oracle Quoting Implementation Guide Release 11i

    Oracle Quoting Implementation Guide Release 11i Part No. B12388-02

    Oracle Quoting User Guide Release 11i

    Oracle Quoting User Guide Release 11i Part No. B12387-02

    Oracle Quoting API Reference Guide Release 11i

    Oracle Quoting API Reference Guide Release 11i Part No. B10591-01

    Macro Quoting Functions PharmaSUG-2018-BB20.pdf

    PharmaSUG 2018 - Paper BB-20 The Fundamentals of Macro Quoting Functions Arthur Li, City of Hope National Medical Center, Duarte, CA

    Linux_slides.rar

    Module 1 — Introduction to Linux Module 2 — Logging In and General Orientation Module 3 — Navigating the File System Module 4 — Managing Files Module 5 — File Permissions and Access...

    Shell.Programming.in.Unix.Linux.and.OS.X.4th.Ed

    Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Wood’s classic Unix Shell Programming tutorial. Following the methodology of the original text, the book ...

    Linux命令大全(Linuxidc.com修改版)

    Linux的很多命令速查~ 如LS命令: 功能说明:列出目录内容。 语 法:ls [-1aAbBcCdDfFgGhHiklLmnNopqQrRsStuUvxX][-I <范本样式>][-T <跳格字数>][-w <每列字符数>][--block-size=<区块大小>][--color=<使用...

    Linux 101 hacks (2nd)

    技巧87:使用引号(Quoting) 技巧88:将数据文件的指定域读取到shell 脚本中 第十二章:监控系统和性能 技巧89:free 命令 技巧90:top 命令 技巧91:ps 命令 技巧92:df 命令 技巧93:kill 命令 技巧94:du 命令 ...

    lpic1 linux junior level 101

    using the command Line,quoting,Filename Generation,Variables,Environment commands,Invoking Command,Processing Text Streams Using Text Pocessing Filters....

    gatewayd-quoting-app

    网关报价应用程序 网关报价应用程序允许网关的外部客户查询和接受报价,使他们能够将资金从他们的帐户发送到本地或远程网关的另一个客户帐户。 目录 依赖关系 $ git checkout develop $ git pull ...

    Open Study Quoting-crx插件

    语言:English 引用开放学习的帖子 允许用户轻松引用具有多个乳胶公式和代码段的OpenStudy帖子。

    quoting-bad

    Create React App入门 该项目是通过引导的。 可用脚本 在项目目录中,可以运行: npm start 在开发模式下运行应用程序。 打开在浏览器中查看它。 如果您进行编辑,则页面将重新加载。 您还将在控制台中看到任何...

    开放学习报价「Open Study Quoting」-crx插件

    在开放式研究报价职位 允许用户轻松引用具有多个乳胶公式和代码段的OpenStudy帖子。 支持语言:English

    适马18-200mm f3.5-6.3 DC Macro OS HSM Contemporary 点评

    《计算机网络基础》(2017春季考试辅导)。网络基础知识考试辅导材料

    UNIX SHELL Quote Tutorial

    Quoting a single character with the backslash • Strong Quoting with the Single Quotes • Weak Quotes with the Double Quotes • Using quotes to include spaces and characters in filenames • ...

    解决pycharm 远程调试 上传 helpers 卡住的问题

    公司开发环境跑在linux上,用了一周都没问题,突然今天无法使用了,具体表现就是一打开pycharm,同步远程解释器就卡在上传helper文件之处,折腾一上午加一中午,用这个方法解决了,写下来避免其他人入坑!...

    You Don’t Know JS.pdf

    question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require ...

    Devart dbExpress Driver for SQL Server v6.2.3 Standard

    6.2.3 17-May-13 •Rad Studio XE4 is supported ...•Bug with not quoting server object names is fixed •Bug when opening table for SQL Server Compact Edition 4.0 for 64-bit Windows is fixed

    Python for Data Analysis 第二版

    Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation ...

    R Graphics Cookbook

    Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does...

Global site tag (gtag.js) - Google Analytics