Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

start with in shell script

# The == comparison operator behaves differently within a double-brackets
# test than within single brackets.

[[ $a == z* ]]   # True if $a starts with a "z" (wildcard matching).
[[ $a == "z*" ]] # True if $a is equal to z* (literal matching).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #start #shell #script
ADD COMMENT
Topic
Name
1+4 =