The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Checking for the presence of a string within another string
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Checking for the presence of a string within another string
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-20-2008
DukeNuke2
Soulman
Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,583
maybe something like this:
Code:
echo $string1 | grep $string2
DukeNuke2
View Public Profile
Visit DukeNuke2's homepage!
Find all posts by DukeNuke2