Summary: Grep question

From: John Entwistle <jentwistle_at_twcny.rr.com>
Date: Thu Dec 16 2004 - 11:23:30 EST
Hi all,

First off let me say that I'm impressed at the number of responses I've 
received and how quickly I received them.  By far the most helpful forum 
I've been involved with.  Kudos to all of you!!...... Anyway,  the 
syntax that worked for me was:

grep 'hostname ' /etc/hosts   (notice the space after hostname)

I'm running Solaris 8 and /usr/bin/grep.  Nothing else worked, including 
the egreps, /usr/xpg4/bin/grep, cat, etc... recommendations.  I'd assume 
this means that there must be a space at the end of each line.  ???  
Otherwise, I'm sure all the suggestions would have worked. 

Again, thanks to everyone that replied!!!  :-)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Dec 16 11:28:02 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:41 EST