亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 10568 | 回復(fù): 12
打印 上一主題 下一主題

雙引號(hào)前的$是什么意思 [復(fù)制鏈接]

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
1 [報(bào)告]
發(fā)表于 2005-09-08 14:15 |只看該作者

雙引號(hào)前的$是什么意思

man bash, 找到 QUOTING 那段說明:

       Words of the form $'string' are treated specially.  The word expands to
       string,  with  backslash-escaped characters replaced as specifed by the
       ANSI C standard.  Backslash escape sequences, if present,  are  decoded
       as follows:
              \a     alert (bell)
              \b     backspace
              \e     an escape character
              \f     form feed
              \n     new line
              \r     carriage return
              \t     horizontal tab
              \v     vertical tab
              \\     backslash
              \'     single quote
              \nnn   the  eight-bit  character  whose value is the octal value
                     nnn (one to three digits)
              \xHH   the eight-bit character whose value  is  the  hexadecimal
                     value HH (one or two hex digits)
              \cx    a control-x character

       The  expanded  result  is  single-quoted, as if the dollar sign had not
       been present.

       A double-quoted string preceded by a dollar sign  ($)  will  cause  the
       string  to  be translated according to the current locale.  If the cur-
       rent locale is C or POSIX, the dollar sign is ignored.  If  the  string
       is translated and replaced, the replacement is double-quoted.

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2005-09-08 14:19 |只看該作者

雙引號(hào)前的$是什么意思

原帖由 "網(wǎng)中人" 發(fā)表:
      A double-quoted string preceded by a dollar sign  ($)  will  cause  the
      string  to  be translated according to the current locale.  If the cur-
      rent locale is C or POSIX, the dollar sign is ignored.  If  the  string
      is translated and replaced, the replacement is double-quoted.


good job

看來也沒有什么用!

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
3 [報(bào)告]
發(fā)表于 2005-09-08 14:21 |只看該作者

雙引號(hào)前的$是什么意思

有用啊. 不是提到 locale 了嗎?

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
4 [報(bào)告]
發(fā)表于 2005-09-08 14:22 |只看該作者

雙引號(hào)前的$是什么意思

嗯? 怎麼搞的, 我是回貼的人, 怎變了發(fā)貼的?

論壇徽章:
8
摩羯座
日期:2014-11-26 18:59:452015亞冠之浦和紅鉆
日期:2015-06-23 19:10:532015亞冠之西悉尼流浪者
日期:2015-08-21 08:40:5815-16賽季CBA聯(lián)賽之山東
日期:2016-01-31 18:25:0515-16賽季CBA聯(lián)賽之四川
日期:2016-02-16 16:08:30程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-06-29 06:20:002017金雞報(bào)曉
日期:2017-01-10 15:19:5615-16賽季CBA聯(lián)賽之佛山
日期:2017-02-27 20:41:19
5 [報(bào)告]
發(fā)表于 2005-09-08 14:23 |只看該作者

雙引號(hào)前的$是什么意思

[quote]原帖由 "網(wǎng)中人"]嗯? 怎麼搞的, 我是回貼的人, 怎變了發(fā)貼的?[/quote 發(fā)表:

這叫粹取

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2005-09-08 15:17 |只看該作者

雙引號(hào)前的$是什么意思

If the current locale is C or POSIX, the dollar sign is ignored.


  the  string     is translated and replaced, the replacement is double-quoted.

我想我會(huì)很快忘記的

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2005-09-08 16:17 |只看該作者

雙引號(hào)前的$是什么意思

大俠~你理解的locale是什么意思?
能用中文解釋下Me?

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
8 [報(bào)告]
發(fā)表于 2005-09-08 16:25 |只看該作者

雙引號(hào)前的$是什么意思

簡(jiǎn)單來說, 就是"當(dāng)?shù)卣Z系", 比方 zh_CN, zh_TW.Big5 之類.
你可輸入 locale 命令查看語系設(shè)定.
你可用 export LC_ALL=xxxxxxxx 來改變語系設(shè)定值.
其中, LANG=xxxxxxxx 則需另設(shè).

更多的, "找男人"跟"挖股溝"吧..........  ^_^

論壇徽章:
1
榮譽(yù)會(huì)員
日期:2011-11-23 16:44:17
9 [報(bào)告]
發(fā)表于 2005-09-08 16:30 |只看該作者

雙引號(hào)前的$是什么意思

試了幾個(gè)locale,沒感覺啥

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
10 [報(bào)告]
發(fā)表于 2005-09-08 16:32 |只看該作者

雙引號(hào)前的$是什么意思

那在 X window 下測(cè)中日韓越幾種不同的"文字"看看?
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP