Public bug reported:

Binary package hint: coreutils

I just found that two subsequent calls of "type bash" resulted in two different 
results. Here's the complete verbatim (anonymized BASH PS1) output from the 
session:
u...@machine:~/path (master)$ sh
$ type foo
foo: not found
$ type bash
bash is /bin/bash
$ type foo
foo: not found
$ echo $1

$ type foo
foo: not found
$ echo $?
127
$ type bash
bash is a tracked alias for /bin/bash
$ type bash
bash is a tracked alias for /bin/bash
$ type foo
foo: not found
$ type service
service is /usr/sbin/service
$ type -t bash
-t: not found
bash is a tracked alias for /bin/bash
$

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bourne-shell

-- 
Inconsistent output from Bourne Shell "type" command
https://bugs.launchpad.net/bugs/509128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to