looking for a script that will delete lines in a text file

it will grep for a line and then delete these line. how do i begin to write this script if theres no available one?

Post sample input and desired output.

let say i have a text file with the long list of names with thier phone numbers. a script that will delete the name and the phone number if a script looked and identify. but maybe i can create a gui for this.

The part that will delete the line is something i'm thinkin of how to begin with.

if there is available. can anyone provide me please. dyou think i need sed or awk to it? i'm not good at it either.. :smiley:

use the -v option of grep