在某些rvm安装脚本中偶然遇到了∴运算符,似乎无法找到它所做的事情的信息?这个地方有文档吗?∴字符在bash shell中做了什么?
4
A
回答
4
我保证它不是bash
的东西。 UNIX以其简单的命令而闻名,但它甚至不会那么远:-)
RVM可能会用该名称创建脚本或可执行文件,以便在命令行上输入它可能会执行某些操作如果是这样的话,这对我来说是避免RVM的一个很好的理由。
然而,由于context似乎线路喜欢:
∴ bash < <(curl http://rvm.beginrescueend.com/releases/rvm-install-head)
∴ rvm update
∴ gem update rvm && rvm-install
我会建议它在使用的提示符壳,而不是一个命令。
0
它什么都不做 - 这似乎是wayneseguin用于他的bash提示符的字符。很多人可能会默认看到:~
。
0
这是Unicode 0x2234字符,意思是“因此”。这绝对不是一个bash操作符。
我想你在http://rvm.beginrescueend.com/rvm/install/上发现了这个字符,并认为它属于命令行。也许他们只是在网站上使用它来表示一个shell(通常用#或$表示)。
0
cat <<∴
Very unlikely to find an accidental ∴
at the beginning of a line in a here
document. But it would tend to
confuse a reader.
∴
相关问题
- 1. @字符在jQuery中做了什么?
- 2. 在c#中^字符做了什么?
- 3. 这个shell命令做了什么?
- 4. <()在Bash中做什么?
- 5. bash shell中的'$$'是什么?
- 6. '|| ='操作符在ruby中做了什么?
- 7. &符(“&”)在put语句中做了什么?
- 8. 'b'字符在字符串面前做了什么?
- 9. “who | grep $ 1”命令在shell脚本中做了什么?
- 10. “+”在CSS中做了什么?
- 11. L做了什么?
- 12. bash -s做什么?
- 13. “-z”在shell脚本中究竟做了什么?
- 14. App = EntityFramework在Sql连接字符串中做了什么?
- 15. Python在Python中对字符串做了什么?
- 16. '-O'选项在git bash的'curl'命令中做了什么?
- 17. 我在这个bash函数中做了什么错误?
- 18. '@@'在sqlplus提示符上做了什么?
- 19. @前缀对C#中的字符串文字做了什么?
- 20. perl中的~~做了什么?
- 21. 分隔字符串,bash shell
- 22. Bash Shell - 什么等价于DOS shell F8?
- 23. {}在字符串中做什么?
- 24. '`'字符在Perl中做什么?
- 25. bash shell中的字符串操作
- 26. ruby字符串中的#{}实际上做了什么?
- 27. Bash脚本之谜,我在这里做了什么?
- 28. 我在做什么错了?
- 29. scalaz中scalaz.syntax.std.OptionOps.cata做了什么?
- 30. KeyListener究竟做了什么?
这真的是shell脚本中使用的字符吗?我从来没有在任何脚本中看到过这个角色 - 也许我只是没有注意到它。 – spig 2010-08-22 15:54:35
我认为它被称为“因此”符号,但我不认为它是一个有效的脚本字符。也许它被用于评论中,或者为了信息的目的而结束一系列步骤(不是功能性的目的) – 2010-08-22 15:57:38
究竟是什么,这一定是来自未来的。 – nisc 2010-08-22 17:14:28