[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'for f in' with empty list occers error

From: Nobuyuki Tsuchimura
Subject: 'for f in' with empty list occers error
Date: Mon, 27 May 2002 17:54:24 +0900

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-vine-linux-gnu' 
-D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -O2 -m486 
uname output: Linux magic 2.4.18-0vl9 #1 Sun Mar 24 17:35:32 JST 2002 i586 
Machine Type: i386-vine-linux-gnu

Bash Version: 2.04
Patch Level: 1
Release Status: release


> $ for f in ; do echo '$f='$f; done
> bash: syntax error near unexpected token `;'

  According to man, this should do nothing, I think.

> If the expansion of the items following in results in an empty list,
> no commands are executed, and the return status is 0.

        At any time.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]