[Top][All Lists]

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

bug with for in list, when list is empty

From: Alain . Enout
Subject: bug with for in list, when list is empty
Date: Mon, 16 Jul 2001 10:35:11 +0200 (CEST)

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-pc-linux-gnu' 
-I/usr/include -I/home/swt/doko/export/packages/bash/bash-2.05 
-I/home/swt/doko/export/packages/bash/bash-2.05/lib -I/usr/include -g -O2
uname output: Linux leda 2.2.19i #2 Mon Jun 11 22:55:44 CEST 2001 i686 unknown
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05
Patch Level: 0
Release Status: release

  Using 'for i in list; do echo ; done' returns an error when ths list is

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

reply via email to

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