control legacy uname with an environment variable
[unleashed.git] / bin / puname / puname.1
blob40d0071de2a27e82d2ca839f34c9aa09ebefcfba
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source.  A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
13 .\" Copyright 2017 Lauri Tirkkonen <lotheac@iki.fi>
14 .\"
15 .Dd Jul 22, 2017
16 .Dt PUNAME 1
17 .Os
18 .Sh NAME
19 .Nm puname
20 .Nd run a command with legacy uname
21 .Sh SYNOPSIS
22 .Nm
23 .Ar command
24 .Op args
25 .Sh DESCRIPTION
26 The
27 .Nm
28 utility runs the given command with legacy uname.
29 .Xr uname 3
30 will return the following values for the command and its child processes:
31 .Pp
32 .Bl -tag -width sysnameXXX -offset indent -compact
33 .It Fa sysname
34 SunOS
35 .It Fa release
36 5.11
37 .It Fa version
38 legacy-uname
39 .El
40 .Pp
41 .El
42 .Sh EXIT STATUS
43 .Ex -std
44 .Sh SEE ALSO
45 .Xr proc 1 ,
46 .Xr sysinfo 2 ,
47 .Xr uname 3 ,
48 .Xr proc 4