Hallo,

On Fri, Jan 08, 2021 at 03:34:29PM +0100, Daniel Leidert wrote:
> Nun möchte ich alle Einträge, die in $LIST enthalten sind aus der Ausgabe des
> Kommandos entfernen.

$command | grep -v $(echo $LIST | sed -e 's/ /\\|/g')

Grüsse
Andreas

-- 
The three chief virtues of a programmer are:
Laziness, Impatience and Hubris. -- Larry Wall

Attachment: signature.asc
Description: PGP signature

Antwort per Email an