Re: sh Frage

From: Christoph Kukulies <kuku(at)gilberto.physik.rwth-aachen.de>
Date: Sun, 30 Apr 2000 14:53:20 +0200

On Sun, Apr 30, 2000 at 02:46:27PM +0200, Alexander Langer wrote:
> Also sprach Christoph Kukulies (kuku(at)gilberto.physik.rwth-aachen.de):
>
> > Ich verzweifle. Wie ist diese Syntax der noralem FreeBSD /bin/sh (ash?)
> > um globbing zu enablen?
>
> Ist schon richtig so.

Ich meinte

set -o noglob
set +o noglob

Wie soll einer *das* aus der man-page herauslesen?

>
> alex:~ $ chmod +x testscript
> alex:~ $ cat testscript
> #/bin/sh
> for a in *
> do
> echo hier ist $a
> done
> alex:~ $ ./testscript
> hier ist %backup%~
> hier ist Fxtv
> hier ist GNUstep
> ...
>
> FreeBSD cichlids.cichlids.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Mar 31 16:52:11 CEST 2000 alex(at)cichlids.cichlids.com:/usr/src/sys/compile/cichlids i386
>
> Alex

-- 
Chris Christoph P. U. Kukulies kuku(at)gil.physik.rwth-aachen.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 30 Apr 2000 - 14:53:20 CEST

search this site