在 bash 中将 < 和 > 作为文字参数传递
Passing < and > as literal arguments in bash
如何在控制台运行时将比较操作的符号作为参数传递给脚本?
How to pass to the script the sign of the comparison operation as an argument when run in the console?
要禁用 >
<
作为重定向运算符的特殊含义,请引用或转义它们。
echo '<' '>'
echo \< \>
如何在控制台运行时将比较操作的符号作为参数传递给脚本?
How to pass to the script the sign of the comparison operation as an argument when run in the console?
要禁用 >
<
作为重定向运算符的特殊含义,请引用或转义它们。
echo '<' '>'
echo \< \>