Peter's Solaris Zone

XPG4 files

/usr/xpg4/bin/alias No obvious differences; xpg4 version not mentioned in manpage.
/usr/xpg4/bin/ar No differences in syntax. Effect of -v option slightly different. Bug: manpage needs clarifying about -x.
/usr/xpg4/bin/awk Is nawk, so isn't really the same beast.
/usr/xpg4/bin/basename No syntax differences. Suffix handled differently.
/usr/xpg4/bin/bg ??
/usr/xpg4/bin/cd ??
/usr/xpg4/bin/chgrp No syntax differences. Handling of -R differs.
/usr/xpg4/bin/chown No syntax differences. Handling of -R differs.
/usr/xpg4/bin/command ??
/usr/xpg4/bin/cp No syntax differences. Handling of -p differs.
/usr/xpg4/bin/ctags Omits -t, but that behaviour is the default.
/usr/xpg4/bin/date No syntax differences. Output of %C specifier is very different.
/usr/xpg4/bin/delta No syntax differences.
/usr/xpg4/bin/df XPG4 adds -P, removes -v. Bug: add -P to normal version, and to /usr/lib/fs/ufs/df
/usr/xpg4/bin/du XPG4 adds -x, removes -d. Bug: add -x to normal version.
XPG4 has -r enabled always; output space rather than tab separated.
/usr/xpg4/bin/ed No syntax differences.
/usr/xpg4/bin/edit No syntax differences.
/usr/xpg4/bin/egrep XPG4 adds -x. Bug: add -x to normal version.
/usr/xpg4/bin/env No syntax differences.
/usr/xpg4/bin/ex No syntax differences.
/usr/xpg4/bin/expr Manpage says this is the same as /usr/bin, although xpg6 version has different behaviour.
/usr/xpg4/bin/fc Bug: XPG4 not documented.
/usr/xpg4/bin/fg ??
/usr/xpg4/bin/fgrep No syntax differences.
/usr/xpg4/bin/file No syntax differences. Differences in meaning of -m.
/usr/xpg4/bin/find No syntax differences. No differences documented.
/usr/xpg4/bin/get No syntax differences. SID mandatory with -r. Bug: manpage should move -r sections to after -x for clarity.
/usr/xpg4/bin/getconf No syntax differences. Bug: XPG4 not documented.
/usr/xpg4/bin/getopts No obvious differences; xpg4 version not mentioned in manpage.
/usr/xpg4/bin/grep XPG4 adds -q and -x. Bug: Add -x and -q to normal version.
XPG4 also adds -E and -f switches which are essentially egrep and fgrep.
/usr/xpg4/bin/hash No obvious differences; xpg4 version not mentioned in manpage.
/usr/xpg4/bin/id XPG4 adds supplementary groups to the output (like -a), but also adds -G, -g, -u, -n, and -r. Bug: Add extra flags to standard version.
/usr/xpg4/bin/ipcs Is just a symlink.
/usr/xpg4/bin/jobs ??
/usr/xpg4/bin/kill No mention of xpg4 in manpage.
/usr/xpg4/bin/link No syntax differences. Handling of symlinks differs.
/usr/xpg4/bin/ln No syntax differences. Handling of symlinks differs. XPG4 removes -n.
/usr/xpg4/bin/ls No syntax differences. Output of l/L differ.
/usr/xpg4/bin/m4 No syntax differences. Meaning of eval differs.
/usr/xpg4/bin/make Loses -K option. Bug: manpage doesn't split out -K as a /usr/ccs/bin only option. (Also, the manpage reference to sysV-make has an unfortunately placed hyphen: it looks like the hyphen is part of the line split rather than being a necessary part of the word.)
/usr/xpg4/bin/more Significant differences in syntax and behaviour.
/usr/xpg4/bin/mv
/usr/xpg4/bin/nice
/usr/xpg4/bin/nl XPG4 differs in that all options require arguments.
/usr/xpg4/bin/nm Output format for -u differs.
/usr/xpg4/bin/nohup XPG4 doesn't have -p, -g, and -Fa arguments.
/usr/xpg4/bin/od I think the manpage synopsis is wrong, because it says later thet - is explicitly allowed for both.
/usr/xpg4/bin/pr The -F argument has different meaning; -i is different. The synopsis shows the arguments differ, specifically -c, but I see no other evidence. And the usage message doesn't look anything like the synopsis.
/usr/xpg4/bin/read
/usr/xpg4/bin/rm
/usr/xpg4/bin/sccs
/usr/xpg4/bin/sed
/usr/xpg4/bin/sh
/usr/xpg4/bin/sort Difference in -c handling.
/usr/xpg4/bin/stty
/usr/xpg4/bin/tail
/usr/xpg4/bin/test
/usr/xpg4/bin/tr XPG4 version works in multibyte locales.
/usr/xpg4/bin/type
/usr/xpg4/bin/ulimit
/usr/xpg4/bin/umask
/usr/xpg4/bin/unalias
/usr/xpg4/bin/vedit
/usr/xpg4/bin/vi
/usr/xpg4/bin/view
/usr/xpg4/bin/wait
/usr/xpg4/bin/who The output with -T differs.

XPG6 files

/usr/xpg6/bin/bc
/usr/xpg6/bin/dc
/usr/xpg6/bin/ed No syntax differences.
/usr/xpg6/bin/edit No syntax differences.
/usr/xpg6/bin/ex No syntax differences.
/usr/xpg6/bin/expr
/usr/xpg6/bin/getconf No syntax differences. Bug: XPG4 not documented.
/usr/xpg6/bin/ls
/usr/xpg6/bin/stty
/usr/xpg6/bin/tr XPG6 version accepts -C flag.
/usr/xpg6/bin/vedit
/usr/xpg6/bin/vi
/usr/xpg6/bin/view
/usr/xpg6/bin/xargs

Peter's Home | Zone Home