Unix and Linux Discussions Tagged with shell scripts |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
32 |
245,877 |
Shell Programming and Scripting |
|
|
|
5 |
64,857 |
Shell Programming and Scripting |
|
|
|
5 |
62,735 |
Shell Programming and Scripting |
|
|
|
2 |
63,278 |
Shell Programming and Scripting |
|
|
|
2 |
63,873 |
Shell Programming and Scripting |
|
|
|
3 |
64,344 |
Shell Programming and Scripting |
|
|
|
10 |
96,122 |
Shell Programming and Scripting |
|
|
|
1 |
55,127 |
Shell Programming and Scripting |
|
|
|
5 |
64,221 |
Shell Programming and Scripting |
|
|
|
10 |
93,048 |
Shell Programming and Scripting |
|
|
|
3 |
67,994 |
Shell Programming and Scripting |
|
|
|
2 |
62,009 |
Shell Programming and Scripting |
|
|
|
10 |
84,802 |
Shell Programming and Scripting |
|
|
|
11 |
97,045 |
Shell Programming and Scripting |
|
|
|
2 |
60,968 |
Shell Programming and Scripting |
|
|
|
6 |
63,365 |
Shell Programming and Scripting |
|
|
|
5 |
54,589 |
Shell Programming and Scripting |
|
|
|
4 |
68,779 |
Shell Programming and Scripting |
|
|
|
2 |
59,752 |
Shell Programming and Scripting |
|
|
|
2 |
31,162 |
Shell Programming and Scripting |
|
|
|
3 |
55,599 |
Shell Programming and Scripting |
|
|
|
2 |
58,530 |
Shell Programming and Scripting |
|
|
|
17 |
144,889 |
Shell Programming and Scripting |
|
|
|
2 |
61,543 |
Shell Programming and Scripting |
|
|
|
5 |
66,680 |
Shell Programming and Scripting |
|
|
|
2 |
57,488 |
Shell Programming and Scripting |
|
|
|
2 |
56,511 |
Shell Programming and Scripting |
|
|
|
2 |
55,042 |
Shell Programming and Scripting |
|
|
|
2 |
57,246 |
Shell Programming and Scripting |
|
|
|
1 |
62,331 |
Shell Programming and Scripting |
|
|
|
3 |
59,702 |
Shell Programming and Scripting |
|
|
|
2 |
64,226 |
Shell Programming and Scripting |
|
|
|
4 |
54,061 |
Shell Programming and Scripting |
|
|
|
0 |
78,173 |
Shell Programming and Scripting |
|
|
|
5 |
38,505 |
Shell Programming and Scripting |
|
|
|
7 |
90,986 |
Shell Programming and Scripting |
|
|
|
9 |
103,502 |
Shell Programming and Scripting |
|
|
|
5 |
60,646 |
Shell Programming and Scripting |
|
|
|
3 |
70,278 |
Shell Programming and Scripting |
|
|
|
5 |
15,527 |
Shell Programming and Scripting |
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)