Ash wrote:
> Bob 123 Main St.
> Bob 123 Main St.
> Bob 123 Main St.
> Bob 123 Main St.
> Dolly 785 Circle St.
> Chris 438 Park St.
> ...
> Ian 888 en St.
>
> Etc.
>
> I want to delete the "Bob" address from all the files, but leave all the 
> rest of the addresses alone. I'm sure  sed or awk both could do this, 
> but I can't figure out how.
>   


How about sed:

 sed -i '/^Bob /d' File1
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to