I need to grep a line from a text file, and delete the fourth and fifth field. then save it back to the text file. If that wont work I could also grep the line, and delete the first number and everything after it on that line. Both would accomplish my goal. Forgive me, I am a little newbish, but can anyone help?
Mattpd 0 Light Poster
Hilliard 0 Newbie Poster
whizkidash 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
whizkidash 0 Newbie Poster
Mattpd 0 Light Poster
Aia 1,977 Nearly a Posting Maven
hichnam 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.