🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2024

Re: grepping, fgrepping, and egrepping

#2024
From: Robert_La_Ferla
Date: Sat, 12 Dec 1992 13:49
13 lines
956 bytes
In article <1992Dec11.01531.7421@ms.uky.edu> The Iguana writes:
> Is there anyway to get GREP to take a given string or character
> and return the result of validating a string WITHOUT these?
> 
> fgrep -v 'string'  <-- will return all LINES that don't have 'string'
> in them. But I need a process that will read in a string and output
> every character EXCEPT those in the string.

In other words, you want to remove all occurrences of a string from a text  
file or stream?  Use "sed" or "awk".

Robert La Ferla
Hot Technologies
Technical Details
Message-ID: <1992Dec12.134911.1133@hot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!merk!esplanade!robertl
References: <1992Dec11.01531.7421@ms.uky.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!merk!esplanade!robertl
From: Robert_La_Ferla@hot.com
Subject: Re: grepping, fgrepping, and egrepping
Message-ID: <1992Dec12.134911.1133@hot.com>
Sender: robertl@hot.com
Reply-To: Robert_La_Ferla@hot.com
Organization: Hot Technologies
References: <1992Dec11.01531.7421@ms.uky.edu>
Date: Sat, 12 Dec 1992 13:49:11 GMT
Lines: 14