Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文翻譯新增 ch3.md #92

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

中文翻譯新增 ch3.md #92

wants to merge 4 commits into from

Conversation

Rslw
Copy link
Contributor

@Rslw Rslw commented Jun 10, 2015

A colon is acceptable as a function name.

在程式中的函數名稱中,冒號是被許可加入的其中的元素之一。

A colon is acceptable as a function name.
>`在程式中的函數名稱中,冒號是被許可加入的其中的元素之一。`
@18z
Copy link
Owner

18z commented Jun 11, 2015

在程式中的函數名稱中,冒號是被許可加入的其中的元素之一。

建議修改成:
冒號可當作函數名稱。

Rslw added 2 commits June 12, 2015 00:45
This is not portable behavior, and therefore not a recommended practice. In fact, more recent releases of Bash do not permit this usage. An underscore _ works, though.
>`這是不可移植的作法,因此不推薦這樣的行為。事實上,最近所釋出的Bash版本並不允許這種用法。但使用下劃線「_」即可運作。`

A colon can serve as a placeholder in an otherwise empty function.
>`在空函數之中,冒號可做為暫駐功能。`
A colon is acceptable as a function name.
>`冒號可當作函數名稱。`
@Rslw
Copy link
Contributor Author

Rslw commented Jun 12, 2015

好的,謝謝前輩的建議!!

已經修改

KunYu Chen notifications@github.com 於 2015年6月11日 下午12:11 寫道:

在程式中的函數名稱中,冒號是被許可加入的其中的元素之一。

建議修改成:
冒號可當作函數名稱。


Reply to this email directly or view it on GitHub
#92 (comment).

"The only easy day was yesterday."

@18z
Copy link
Owner

18z commented Jun 12, 2015

Thanks

btw,如果有做修改的話,commit 訊息應該是「中文翻譯修改」而不是「中文翻譯新增」
https://github.com/deanboole/abs/blob/master/KANBANG.md
commit 訊息在上面的 url 有制定清楚

!
reverse (or negate) the sense of a test or exit status [bang]. The ! operator inverts the exit status of the command to which it is applied (see Example 6-2). It also inverts the meaning of a test operator. This can, for example, change the sense of equal ( = ) to not-equal ( != ). The ! operator is a Bash keyword.
>`反轉(或否定)測試或退出當前程式狀態的用途[bang]。驚嘆號用作反轉命令,以及其所施加的退出狀態(請參照範例6-2),同時驚嘆號也可反轉操作者的意圖,例如將等於(=)轉為不等於(!=)。驚嘆號是Bash中的關鍵單字。`

In a different context, the ! also appears in indirect variable references.
>`在不同的內文之中,驚嘆號也出現在間接變數的引用之中。`

In yet another context, from the command line, the ! invokes the Bash history mechanism (see Appendix L). Note that within a script, the history mechanism is disabled.
>`另一方面,在命令列中,驚嘆號調用Bash的歷史紀錄(請見 Appendix L)。請注意在腳本中,歷史紀錄是無法作用的。`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants