On Tue, 5 Jun 2012 23:12:21 +0800 Clark WANG wrote:
> On Tue, Jun 5, 2012 at 10:52 PM, Glenn Fowler <[email protected]> wrote:
> >
> > what is the output of
> >        print $PATH
> >        builtin

> (The builtin output is not good. I have to write a function to make it
> easier to read.)

what do you mean by "not good"?
and was the output below the output from ksh or your function?

also, ".sh.tilde" is suspicious
do you have a builtin dll pointed to in a .paths file anywhere on $PATH?

> $ echo ${.sh.version}
> Version JM 93u+ 2012-05-31
> $ print $PATH
> /Users/clark/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/MacPorts/sbin:/usr/local/MacPorts/bin:/usr/local/MacPorts/libexec/git-core
> $ builtin
> .
> .sh.tilde
> /opt/ast/bin/basename
> /opt/ast/bin/cat
> /opt/ast/bin/chmod
> /opt/ast/bin/cmp
> /opt/ast/bin/cut
> /opt/ast/bin/dirname
> /opt/ast/bin/getconf
> /opt/ast/bin/head
> /opt/ast/bin/logname
> /opt/ast/bin/mkdir
> /opt/ast/bin/sync
> /opt/ast/bin/uname
> /opt/ast/bin/wc
> :
> [
> alarm
> alias
> bg
> break
> builtin
> cd
> command
> continue
> disown
> echo
> enum
> eval
> exec
> exit
> export
> false
> fc
> fg
> getopts
> hash
> hist
> jobs
> kill
> let
> login
> print
> printf
> pwd
> read
> readonly
> return
> set
> shift
> sleep
> test
> trap
> true
> type
> typeset
> ulimit
> umask
> unalias
> unset
> vmap
> vpath
> wait
> whence
> $

> >
> > On Tue, 5 Jun 2012 22:18:53 +0800 Clark WANG wrote:
> >> See following example:
> >
> >> $ echo ${.sh.version}
> >> Version JM 93u+ 2012-05-31
> >> $ cat << END
> >> > ${.sh.version}
> >> > END
> >> ksh.120531.93u+: cat: not found [No such file or directory]
> >> $
> >
> >> Other .sh vars like ${.sh.fun} have the same problem. ksh93u
> >> (2011-02-08) behaves the same.
> >> _______________________________________________
> >> ast-users mailing list
> >> [email protected]
> >> https://mailman.research.att.com/mailman/listinfo/ast-users
> >

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to