Linux tip: Bash test and comparison functions
http://www.ibm.com/developerworks/linux/library/l-bash-test.html?S_TACT=105AGX03&S_CMP=LPSummary: Are you confused by the plethora of testing and comparison options
in the Bash shell? This tip helps you demystify the various types of file, arithmetic, and
string tests so you will always know when to use
test
,
[ ]
,
[[ ]]
,
(( ))
, or
if-then-else
constructs.
|
文件: | Linux_tip__Bash_test_and_comparison_functions.pdf |
大小: | 112KB |
下载: | 下载 |
|
阅读(466) | 评论(0) | 转发(0) |