bug-coreutils
[Top][All Lists]
Advanced

[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




reply via email to

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