Weird problem with function ls or system("ls...")
John W. Eaton
jwe at octave.org
Tue Jul 28 16:33:33 CDT 2009
On 28-Jul-2009, Christian Weickhmann wrote:
| > I think we are getting off topic
| Yepp, I'll keep it short:
|
|
| > echo *
| returns "*" (just an asterisk on the line).
|
| Yes, I am using bash (GNU bash, version 3.2.48(1)-release (x86_64-pc-linux-
| gnu)).
|
| Next week-end I'll test it on a SUSE machine. If it works there, it could be
| some bogous expand command in bashrc or profile or where the hack.
My guess is you have the "nullglob" shell option set. What does
shopt nullglob
tell you? See the bash man page for more info about the shopt builtin
and the nullglob option.
jwe
More information about the Help-octave
mailing list