bug-bash
[Top][All Lists]
Advanced

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

wrong filename returned by for in


From: Miche
Subject: wrong filename returned by for in
Date: Tue, 12 May 2009 13:04:16 +0200

Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include
-I../bash/lib   -g -O2 -Wall uname output: Linux klappi 2.6.19.1 #18
Fri Mar 23 12:15:17 CET 2007 i686 GNU/Linux Machine Type:
i486-pc-linux-gnu

Bash Version: 3.2
Patch Level: 48
Release Status: release

Description:
        the for in command returns wrong filename, if more than one
        spaces are in sequence. Multiple spaces are converted to one
        single space.

Repeat-By:
        touch file\ \ with\ more\ than\ one\ spaces\ \ \ in\ sequence
        ls -1 file*
        for a in file* ; do echo $a ; done




reply via email to

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