Skip to content

Instantly share code, notes, and snippets.

@ormaaj
Last active September 8, 2021 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ormaaj/3d296c4dc865f2a58554c438ce27da32 to your computer and use it in GitHub Desktop.
Save ormaaj/3d296c4dc865f2a58554c438ce27da32 to your computer and use it in GitHub Desktop.
ksh93v- vs. debian's 2020.0.0+really93u+20120801-9
(ins)root@ormaaj-laptop (162321) ~ # /mnt/ormaaj-laptop/ksh93 -c 'typeset -p .sh; print -v .sh; builtin -l'
namespace sh
{
typeset -l -i lineno=0
math=''
op_astbin=/opt/ast/bin
typeset -i pwdfd=10
typeset -C sig=()
typeset -C stats=()
typeset -s -i subshell=0
namespace type
{
typeset -r -s -u -i _Bool=false
}
version='Version ABIJM 93v- 2014-12-24'
}
command dollar edchar edcol edmode edtext file fun level lineno match math name op_astbin pgrp pool pwdfd sig stats subscript subshell type value version
.
/opt/ast/bin/basename
/opt/ast/bin/cat
/opt/ast/bin/chgrp
/opt/ast/bin/chmod
/opt/ast/bin/chown
/opt/ast/bin/cksum
/opt/ast/bin/cmp
/opt/ast/bin/comm
/opt/ast/bin/cp
/opt/ast/bin/cut
/opt/ast/bin/date
/opt/ast/bin/dirname
/opt/ast/bin/egrep
/opt/ast/bin/expr
/opt/ast/bin/fds
/opt/ast/bin/fgrep
/opt/ast/bin/fmt
/opt/ast/bin/fold
/opt/ast/bin/getconf
/opt/ast/bin/grep
/opt/ast/bin/head
/opt/ast/bin/iconv
/opt/ast/bin/id
/opt/ast/bin/join
/opt/ast/bin/ln
/opt/ast/bin/logname
/opt/ast/bin/ls
/opt/ast/bin/md5sum
/opt/ast/bin/mkdir
/opt/ast/bin/mkfifo
/opt/ast/bin/mktemp
/opt/ast/bin/mv
/opt/ast/bin/od
/opt/ast/bin/paste
/opt/ast/bin/pathchk
/opt/ast/bin/pids
/opt/ast/bin/readlink
/opt/ast/bin/realpath
/opt/ast/bin/rev
/opt/ast/bin/rm
/opt/ast/bin/rmdir
/opt/ast/bin/sha1sum
/opt/ast/bin/sha256sum
/opt/ast/bin/sha2sum
/opt/ast/bin/sha384sum
/opt/ast/bin/sha512sum
/opt/ast/bin/stty
/opt/ast/bin/sum
/opt/ast/bin/sync
/opt/ast/bin/tail
/opt/ast/bin/tee
/opt/ast/bin/tr
/opt/ast/bin/tty
/opt/ast/bin/uname
/opt/ast/bin/uniq
/opt/ast/bin/vmstate
/opt/ast/bin/wc
/opt/ast/bin/xargs
/opt/ast/bin/xgrep
:
[
_Bool
alarm
alias
bg
break
builtin
cd
command
compgen
complete
continue
declare
disown
echo
enum
eval
exec
exit
export
false
fc
fg
getopts
hash
hist
jobs
kill
let
local
login
newgrp
poll
print
printf
pwd
read
readonly
return
set
shift
sleep
source
test
trap
true
type
typeset
ulimit
umask
unalias
unset
vmap
vpath
wait
whence
(cmd)root@ormaaj-laptop (162321) ~ # ksh93 -c 'typeset -p .sh; print -v .sh; builtin -l'
namespace sh
{
typeset -i lineno=0
typeset -a match=([0]=)
math=''
typeset -C stats=()
typeset -s -i subshell=0
namespace type
{
:
}
version='Version AJM 93u+ 2012-08-01'
}
command dollar edchar edcol edmode edtext file fun level lineno match math name pool stats subscript subshell type value version
.
/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
newgrp
print
printf
pwd
read
readonly
return
set
shift
sleep
test
trap
true
type
typeset
ulimit
umask
unalias
unset
vmap
vpath
wait
whence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment