GNU bug report logs - #12336
test bug

Previous Next

Package: coreutils;

Reported by: Bala Murugan <bala.spidy <at> gmail.com>

Date: Sun, 2 Sep 2012 18:19:01 UTC

Severity: normal

Tags: notabug

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bala Murugan <bala.spidy <at> gmail.com>
To: Bob Proulx <bob <at> proulx.com>
Subject: bug#12336: test bug
Date: Mon, 3 Sep 2012 20:21:41 +0530
[Message part 1 (text/plain, inline)]
Hi Bob,
thanks for u r reply.
See i will explain u neatly.
I am using bash shell. When I tried to do this i getting this.I am getting
this error.

[balamup2 <at> cl-flor-dvvm026 ~]$ echo $SHELL
*/bin/bash*

[balamup2 <at> cl-flor-dvvm026 ~]$ ls
*test1.txt  test3.txt  testdir  test.txt*

[balamup2 <at> cl-flor-dvvm026 ~]$ test -f test*.txt
*-bash: test: too many arguments*
--------------------------------------------------------------------------------------------
But my friend is using ksh shell. He is fine with that command . I will
past this O/P also.

$ echo $SHELL
*/usr/bin/ksh*

$ ls
*123.txt  a1.txt  abc.txt  a.txt  dead.letter  nohup.out  ww1.txt*

$ test -f a*.txt
$ echo $?
*0*


Please take a deep look and resolve this problem
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.