Search Results

Search: Posts Made By: jmccoughlin
1,515
Posted By Aia
Please, try any of these, in bash: [[...
Please, try any of these, in bash:

[[ $USEROPTscript = yes && ($mode = INSTALL || $mode = CHANGE) ]] && echo "True" || echo "False"

Or
[[ $USEROPTscript = yes && $mode =~ ^(INSTALL|CHANGE)$...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy