ossp-pkg/platform/BRAINSTORM
concatenator char "/" +
separator char " " /
lowercase yes/no
verbose yes/no (with vendor name prefixed or not) Sun Solaris (with [] parts)
normal Solaris (without [] parts)
concise yes/no (reduced to single word) Solaris (only <> parts or if no <> without [] and without special chars)
RPM Filenames: --rpm ==> --sep="" --conc="+" --format="%{ap}-%{sp}"
ia32-lsb2.0
ix86-redhat9
i686-gnu+linux2.2.3+2.4.22
RPM .spec checks: --check ==> --sep="-" --conc="/" --format="%{at}:%{st}"
ia32-lsb-2.0
ix86-redhat-9
i686-gnu+linux-2.2.3+2.4.22
Web Identifiers: --id ==> --sep="-" --conc="+" --format="%{at}/%{st}"
IA32/LSB2.0
ix86/RedHat-9
i686/GNU+Linux-2.2.3+2.4.22
README/INSTALL files: --human ==> --sep=" " --conc="/" --format="%{sp} (%{ap})"
LSB2.0 (IA32)
RedHat 9 (i686)
GNU/Linux 2.2.3/2.4.22 (i686)
--all ==> --class --prod --tech
--class ==> Xc
--prod ==> Xp
--tech ==> xt
--verbose ==> []
--normal (or nothing) ==> {}
--concise ==> <>
hardware architecture
- class %ac SPARC SPARC IA32 IA64 HPPA Alpha PPC M68K
- product %ap sparc32 sparc64 ix86 ia64 hppa alpha PowerPC5 m6800x
- technology %at sun4c sun4u i686 ia64 hppa2.0 alphav5 PowerPC50x0 M68004
operating system
- class %sc SVR5 SVR4 4.4BSD 4.4BSD LSB2.0 4.2BSD
- product %sp OpenUNIX 8.0 Solaris9 FreeBSD4.8 NetBSD1.6 RedHat9 Tru64 5.1B
- technology %st UnixWare/7.1.3 SunOS/5.9 FreeBSD/4.8-STABLE NetBSD/1.6.1 GNU/Linux 2.2.3/2.4.22 OSF1/5.01
"[Sun ]<Solaris> 9"
"[SCO ]UnixWare 7.1[.3]"
"FreeBSD 4.8[-STABLE]"
"<Debian>[ GNU/Linux] 2.2[.5]"
"GNU/<Linux> [3.3.1/]2.2.4/<2.4>.22"
%(xx) with all parenthesis
%[xx]
%{xx} %xx
%<xx>
/:+ " ":-
linux-2.4
--------------------------
capacity
- CPU speed
- RAM size
- Disk size
- Network bandwidth
cp_cpu
cp_ram
cp_dsk
cp_net
platform