DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux pipe string contains
[
$(
expr
$mystring
:
".*
${search}
.*"
)
-ne
0
]
&&
echo
'yes'
||
echo
'no'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#linux
#pipe
#string
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit