$ type test
test is a shell builtin function
if [[ ... ]]; =====> if test ...;
if [[ "true" ]]; then
echo "true"
fi
if test "true"; then
echo "true"
fi
$ type test
test is a shell builtin function
if [[ ... ]]; =====> if test ...;
if [[ "true" ]]; then
echo "true"
fi
if test "true"; then
echo "true"
fi
本文标题:test construct
本文链接:https://www.haomeiwen.com/subject/twsgqftx.html
网友评论