Re: Shellscript-Frage

From: Oliver Fromme <olli(at)secnetix.de>
Date: Fri, 6 Dec 2002 13:20:53 +0100 (CET)

Matthias Fechner <idefix(at)fechner.net> wrote:
> ich habe hier ein Shellscript und ich möchte viele Leerzeichen durch
> ein Leerzeichen ersetzen, wie muss ich das denn schreiben(will das
> jetzt nicht in Perl machen).

Das leichteste passende Werkzeug dürfte »tr« sein:
tr -s " "

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 06 Dec 2002 - 13:20:55 CET

search this site