[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error on meta-{ filename expansion
From: |
Jeff Terrell |
Subject: |
Error on meta-{ filename expansion |
Date: |
Wed, 9 Dec 2009 11:05:13 -0500 |
(pasted this in from dead.bashbug when the mail failed.)
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 art 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11
UTC 2009 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.2
Patch Level: 39
Release Status: release
Description:
The meta-{ command should automatically expand filenames that match the
current prefix into a {,,,} list. I found a test case for which this
does not work correctly.
Repeat-By:
$ mkdir tmp; cd tmp
$ cat | xargs touch # paste the following lines in; terminate with ^d
app-controllers-account_reminders_controller_rb.html
app-controllers-accounts_controller_rb.html
app-controllers-account_settings_controller_rb.html
app-controllers-application_rb.html
app-controllers-backup_aging_controller_rb.html
app-controllers-backup_verification_controller_rb.html
app-controllers-controller_represents_rb.html
app-controllers-dashboard_controller_rb.html
app-controllers-domains_controller_rb.html
app-controllers-file_spaces_controller_rb.html
app-controllers-help_pages_controller_rb.html
app-controllers-licenses_controller_rb.html
app-controllers-logs_controller_rb.html
app-controllers-nodes_controller_rb.html
app-controllers-node_test_cases_controller_rb.html
app-controllers-platforms_controller_rb.html
app-controllers-preferences_controller_rb.html
app-controllers-rubyamf_controller_rb.html
app-controllers-sessions_controller_rb.html
app-controllers-storage_visualizer_controller_rb.html
app-controllers-support_controller_rb.html
app-controllers-sweeps_controller_rb.html
app-controllers-tsm_servers_controller_rb.html
^d
$ rm <meta-{> # expands to a long list of filenames
rm: cannot remove `app-controllers-account__controller_rb.html': No such
file or directory
$ rm <meta-{> # expands to: app-controllers-accounts_controller_rb.html
Thanks,
-Jeff T.
- Error on meta-{ filename expansion,
Jeff Terrell <=