确定是否设置了值 [英] determine if value is set
本文介绍了确定是否设置了值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿所有,
首先发布在这里,并且我确定一旦我问我的问题..你们都知道我是一个非常新的shell脚本。我花了很多时间在php上,而不是shell。
我需要找出一种方法来查看shell varable是否有值。
我有
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号
解决方案
嘿所有,
首先发布在这里,并且我确定一旦我问我的问题..你们都知道我是一个非常新的shell脚本。我花了很多时间在php上,而不是shell。
我需要找出一种方法来查看shell varable是否有值。
我有
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号
no。这不能解决我的问题。
[HTML] if(
VHOME -eq"")[/ HTML]
Hey all,
first post here and as im sure once i ask my question.. you will all know that i am very new the shell scripting. I spend all of time in php, not shell.
I need to figure out a way to see if a shell varable has a value in it.
I have
Expand|Select|Wrap|Line Numbers解决方案Hey all,
first post here and as im sure once i ask my question.. you will all know that i am very new the shell scripting. I spend all of time in php, not shell.
I need to figure out a way to see if a shell varable has a value in it.
I have
Expand|Select|Wrap|Line Numbers
no. that did not fix my issue.
[HTML]if (
VHOME -eq "" )[/HTML]
这篇关于确定是否设置了值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆