bin/115830: type bourne shell built-in
Diego Bravo
diegobravoestrada at hotmail.com
Sun Aug 26 05:30:02 PDT 2007
>Number: 115830
>Category: bin
>Synopsis: type bourne shell built-in
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 26 12:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Diego Bravo
>Release: FreeBSD 6.2-RELEASE
>Organization:
AmericaTI
>Environment:
FreeBSD bsd.americati.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The type built-in must exit with error if the given argument is not an accesible executable or built-in. It fails if a bad path is given.
Note: Using bourne shell, not bash:
$ ps
PID TT STAT TIME COMMAND
702 v0 S 0:00.09 -sh (sh)
707 v0 S+ 0:00.03 script
708 p0 Ss 0:00.04 /bin/sh -i
709 p0 R+ 0:00.00 ps
>How-To-Repeat:
$ type xxxx
xxxx: not found
$ echo $?
127
$ type yyyyy/zzzzzz
yyyyy/zzzzzz: No such file or directory
$ echo $?
0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list