[Top][All Lists]

[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 #18
Fri Mar 23 12:15:17 CET 2007 i686 GNU/Linux Machine Type:

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

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

        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]