[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: echo bug FC3 ?
From: |
Eric Blake |
Subject: |
Re: echo bug FC3 ? |
Date: |
Sat, 14 Jan 2006 18:35:52 +0000 |
> OS: Fedora core 3 installed from rpms, all updates in place
>
> [user ~]$ /bin/echo --version
> echo (GNU coreutils) 5.2.1
coreutils 5.93 is the latest stable version, you may want to consider
upgrading.
> [user ~]$ /bin/echo [abcdefghtrsz]
> r t z
Not a bug. /bin/sh is required to do file name matching when
presented unquoted brackets, and if any file in the current
directory matches the pattern, then those filenames appear
in place of the pattern. Echo is faithfully printing what it
was passed by the shell. Try doing this instead:
$ /bin/echo "[abcdefghtrsz]"
[abcdefghtrsz]
--
Eric Blake
- echo bug FC3 ?, Eugen Mitu, 2006/01/14
- Re: echo bug FC3 ?,
Eric Blake <=