[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't unset function with unusual names
From: |
AnMaster |
Subject: |
Re: Can't unset function with unusual names |
Date: |
Wed, 17 Oct 2007 08:55:48 +0200 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070803) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Even so, if neither -f nor -v are given, you should apply both naming rules.
/AnMaster
Andreas Schwab wrote:
> AnMaster <anmaster@berlios.de> writes:
>
>> Repeat-By:
>> $ .foo-bar() { echo test; }
>> $ .foo-bar
>> test
>> $ unset .foo-bar
>> bash: unset: `.foo-bar': not a valid identifier
>
> Use unset -f.
>
> Andreas.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHFbHwWmK6ng/aMNkRCkIDAKCmwQ9eeUBH63XyOO2TVb7PUWyqkgCgx/kD
q2j9QrIjA9O0YpLcliVGOWo=
=U7gm
-----END PGP SIGNATURE-----