The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
grep with variable
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
grep with variable
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-14-2008
ozvena
Registered User
Join Date: Jun 2005
Posts: 6
No, there is not. Even if there is it should work as Socket has spaces around in B.tmp file:
Code:
$ LINE=" Socket " $ grep -c $LINE B.tmp $ 3
ozvena
View Public Profile
Find all posts by ozvena