Search
 
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
Name
4+4 =