[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The "-e" test ingores broken links
From: |
Łukasz Grabowski |
Subject: |
The "-e" test ingores broken links |
Date: |
Thu, 13 Oct 2016 21:00:22 +0200 |
Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CON
FIG_H -I. -I../. -I.././include -I.././lib -D_FORTIFY_SOURCE=2 -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
uname output: Linux brutus 3.16.0-4-686-pae #1 SMP Debian
3.16.36-1+deb8u1 (2016-09-03) i686 GNU/Linux
Machine Type: i586-pc-linux-gnu
Bash Version: 4.3
Patch Level: 30
Release Status: release
Description:
according to docs -e test should return true when tested on files,
including broken links, but it doesn't
Repeat-By:
the two commands
ln -s xxx a
if [ -e a ]; then echo "exists!"; fi
don't produce any output on my system
Best,
Łukasz Grabowski
- The "-e" test ingores broken links,
Łukasz Grabowski <=