Unix and Linux Discussions Tagged with shell scripts |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
32 |
279,123 |
Shell Programming and Scripting |
|
|
|
5 |
74,006 |
Shell Programming and Scripting |
|
|
|
5 |
71,517 |
Shell Programming and Scripting |
|
|
|
2 |
72,514 |
Shell Programming and Scripting |
|
|
|
2 |
72,299 |
Shell Programming and Scripting |
|
|
|
3 |
73,741 |
Shell Programming and Scripting |
|
|
|
10 |
110,569 |
Shell Programming and Scripting |
|
|
|
1 |
62,686 |
Shell Programming and Scripting |
|
|
|
5 |
73,312 |
Shell Programming and Scripting |
|
|
|
10 |
105,669 |
Shell Programming and Scripting |
|
|
|
3 |
77,565 |
Shell Programming and Scripting |
|
|
|
2 |
70,296 |
Shell Programming and Scripting |
|
|
|
10 |
98,027 |
Shell Programming and Scripting |
|
|
|
11 |
110,458 |
Shell Programming and Scripting |
|
|
|
2 |
69,161 |
Shell Programming and Scripting |
|
|
|
6 |
72,008 |
Shell Programming and Scripting |
|
|
|
5 |
62,642 |
Shell Programming and Scripting |
|
|
|
4 |
77,377 |
Shell Programming and Scripting |
|
|
|
2 |
68,114 |
Shell Programming and Scripting |
|
|
|
2 |
39,554 |
Shell Programming and Scripting |
|
|
|
3 |
64,234 |
Shell Programming and Scripting |
|
|
|
2 |
66,943 |
Shell Programming and Scripting |
|
|
|
17 |
164,914 |
Shell Programming and Scripting |
|
|
|
2 |
70,444 |
Shell Programming and Scripting |
|
|
|
5 |
75,786 |
Shell Programming and Scripting |
|
|
|
2 |
66,654 |
Shell Programming and Scripting |
|
|
|
2 |
65,357 |
Shell Programming and Scripting |
|
|
|
2 |
63,502 |
Shell Programming and Scripting |
|
|
|
2 |
65,432 |
Shell Programming and Scripting |
|
|
|
1 |
70,869 |
Shell Programming and Scripting |
|
|
|
3 |
68,892 |
Shell Programming and Scripting |
|
|
|
2 |
72,623 |
Shell Programming and Scripting |
|
|
|
4 |
61,701 |
Shell Programming and Scripting |
|
|
|
0 |
86,656 |
Shell Programming and Scripting |
|
|
|
5 |
48,830 |
Shell Programming and Scripting |
|
|
|
7 |
104,990 |
Shell Programming and Scripting |
|
|
|
9 |
117,088 |
Shell Programming and Scripting |
|
|
|
5 |
69,161 |
Shell Programming and Scripting |
|
|
|
3 |
78,787 |
Shell Programming and Scripting |
|
|
|
5 |
20,878 |
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)