Skip to content

Instantly share code, notes, and snippets.

@alanc
alanc / SRU60-man-page-changes.diff
Created August 24, 2023 00:58
Changes to core OS man pages in Oracle Solaris 11.4 SRU 60
diff -NurbBw 11.4.57/man1/cp.1 11.4.60/man1/cp.1
--- 11.4.57/man1/cp.1 2023-08-23 17:32:50.217561201 -0700
+++ 11.4.60/man1/cp.1 2023-08-23 17:33:19.180382437 -0700
@@ -6,28 +6,28 @@
cp - copy files
SYNOPSIS
- /usr/bin/cp [-Pfipz@/] source_file target_file
+ /usr/bin/cp [-PSfipz@/] source_file target_file
@alanc
alanc / SRU57-man-page-changes.diff
Last active May 25, 2023 21:04
Changes to core OS man pages in Oracle Solaris 11.4 SRU 57
diff -NurbBw 11.4.54/man1/error.1 11.4.57/man1/error.1
--- 11.4.54/man1/error.1 2023-05-24 15:26:43.843782933 -0700
+++ 11.4.57/man1/error.1 2023-05-24 15:27:23.176004099 -0700
@@ -61,10 +61,10 @@
-q error asks whether the file should be touched. A 'y'
- or 'n' to the question is necessary to continue.
- Absence of the -q option implies that all referenced
- files (except those referring to discarded error mes-
diff -NurbBw 11.4.51/man1/acctcom.1 11.4.54/man1/acctcom.1
--- 11.4.51/man1/acctcom.1 2023-02-14 17:42:27.045093171 -0800
+++ 11.4.54/man1/acctcom.1 2023-02-14 17:42:44.034699624 -0800
@@ -12,14 +12,13 @@
[-S time] [-u user] [filename]...
DESCRIPTION
- The acctcom utility reads filenames, the standard input, or
- /var/adm/pacct, in the form described by acct.h(3HEAD) and writes
- selected records to standard output. Each record represents the execu-
diff -NurbBw 11.4.48/man1/du.1 11.4.51/man1/du.1
--- 11.4.48/man1/du.1 2022-11-16 10:31:48.947151637 -0800
+++ 11.4.51/man1/du.1 2022-11-16 10:31:57.354741496 -0800
@@ -109,52 +109,10 @@
All sizes are scaled to a human readable format, for example, 14K,
234M, 2.7G, or 3.0T. Scaling is done by repetitively dividing by
- 1024, unless otherwise specified.
-
- --scale specified without arguments enables default scaled output,
diff -NurbBw 11.4.45/man1/chmod.1 11.4.48/man1/chmod.1
--- 11.4.45/man1/chmod.1 2022-08-16 11:04:42.897819450 -0700
+++ 11.4.48/man1/chmod.1 2022-08-16 11:05:27.904394629 -0700
@@ -1595,9 +1595,9 @@
The following examples replace system attributes of a ZFS file:
- $ chmod S=v{archive,hidden,readonly,system,appendonly,\
+ $ chmod 'S=v{archive,hidden,readonly,system,appendonly,\
nonodump,immutable,noav_modified,noav_quarantined,\
@alanc
alanc / SRU45-man-page-changes.diff
Last active May 17, 2022 21:56
Man page changes in Solaris 11.4.45
diff -NurbBw 11.4.42/man1/awk.1 11.4.45/man1/awk.1
--- 11.4.42/man1/awk.1 2022-05-17 14:50:11.644580932 -0700
+++ 11.4.45/man1/awk.1 2022-05-17 14:50:54.523512370 -0700
@@ -1209,7 +1209,7 @@
Example 10 Write lines longer than 72 characters:
- {length($0) > 72}
+ length($0) > 72 {print}
@alanc
alanc / SRU42-man-page-changes.diff
Created February 15, 2022 20:09
Man page changes in Solaris 11.4.42
diff -NurbBw 11.4.39/xman1/calendar.1 11.4.42/xman1/calendar.1
--- 11.4.39/xman1/calendar.1 2022-02-15 11:15:45.471644922 +0000
+++ 11.4.42/xman1/calendar.1 2022-02-15 11:16:10.622151486 +0000
@@ -112,12 +112,12 @@
calendar is no longer in the default root crontab. Because of the net-
work burden calendar - can induce, it is inadvisable in an environment
running LDAP or NIS with a large number of users. If, however, the use-
- fulness of calendar outweighs the network impact, the super-user may
- run crontab -e to edit the root crontab. Otherwise, individual users
- may wish to use crontab -e to edit their own crontabs to have cron
@alanc
alanc / SRU39-man-page-changes.diff
Last active November 16, 2021 22:42
Man page changes in Solaris 11.4.39
diff -NurbBw 11.4.36/man1/auths.1 11.4.39/man1/auths.1
--- 11.4.36/man1/auths.1 2021-11-16 13:14:11.672647261 +0000
+++ 11.4.39/man1/auths.1 2021-11-16 13:14:46.532630672 +0000
@@ -18,28 +18,26 @@
auths check [-u user] authorization
- auths add [-S repository] -t description
- [-h help_file_path] authorization
+ auths add [-S repository] -t description authorization
@alanc
alanc / SRU36-man-page-changes.diff
Last active August 28, 2021 00:44
Man page changes in Solaris 11.4.36
diff -Nurwb 11.4.33/man1/adb.1 11.4.36/man1/adb.1
--- 11.4.33/man1/adb.1 2021-08-27 10:45:35.028195964 +0000
+++ 11.4.36/man1/adb.1 2021-08-27 10:46:36.300766164 +0000
@@ -17,7 +17,7 @@
The adb utility is implemented as a link to the mdb(1) utility. mdb is
a low-level debugging utility that can be used to examine user pro-
cesses as well as the live operating system or operating system crash
- dumps. The mdb utility provides complete backwards compatibility with
+ dumps. The mdb utility provides complete backward compatibility with
the existing syntax and features of adb, including support for process-
@alanc
alanc / bug-list.txt
Created May 19, 2021 23:31
Man page changes in Solaris 11.4.33
Man page changes between Solaris 11.4.30 & 11.4.33, including changes for:
15607354 /usr/bin/awk should be mediated and default to nawk
15621143 SUNBT6924356 Virtio drivers for KVM
15756594 resolv.conf(5) manpage needs examples
20875258 RAD TLS should support client X.509 certs
20875332 RAD TLS should Identify and Authenticate user via X.509 certficate
21227539 memcntl(MC_LOCK_GRANULE) can return EAGAIN, contrary to manpage
21971253 Steer developers towards getaddrinfo and getnameinfo
27848134 Deferred dump: publicly document the off switch so customer can choose