bug-bash
[Top][All Lists]
Advanced

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

Can create BASH functions that can't be deleted


From: Michael ODonnell
Subject: Can create BASH functions that can't be deleted
Date: Fri, 13 Jan 2006 16:00:28 -0500

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linu
x-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDI
R='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./inc
lude -I./lib  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -m32 -marc
h=i386 -mtune=pentium4
uname output: Linux sonic-mike1 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 20
05 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 15
Release Status: release

Description:
        Naming restriction inconsistencies allow us to create
        BASH functions that can't be deleted.

Repeat-By:
        function a.b() { echo My name is $FUNCNAME; }

        a.b
        My name is a.b

        unset a.b
        -bash: unset: `a.b': not a valid identifier

 




reply via email to

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