Unix and Linux Discussions Tagged with shell scripts |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
32 |
323,056 |
Shell Programming and Scripting |
|
|
|
5 |
89,418 |
Shell Programming and Scripting |
|
|
|
5 |
83,924 |
Shell Programming and Scripting |
|
|
|
2 |
88,287 |
Shell Programming and Scripting |
|
|
|
2 |
87,060 |
Shell Programming and Scripting |
|
|
|
3 |
89,084 |
Shell Programming and Scripting |
|
|
|
10 |
134,364 |
Shell Programming and Scripting |
|
|
|
1 |
76,071 |
Shell Programming and Scripting |
|
|
|
5 |
84,447 |
Shell Programming and Scripting |
|
|
|
10 |
107,805 |
Shell Programming and Scripting |
|
|
|
3 |
93,285 |
Shell Programming and Scripting |
|
|
|
2 |
86,314 |
Shell Programming and Scripting |
|
|
|
10 |
116,411 |
Shell Programming and Scripting |
|
|
|
11 |
135,009 |
Shell Programming and Scripting |
|
|
|
2 |
84,769 |
Shell Programming and Scripting |
|
|
|
6 |
88,053 |
Shell Programming and Scripting |
|
|
|
5 |
64,005 |
Shell Programming and Scripting |
|
|
|
4 |
95,181 |
Shell Programming and Scripting |
|
|
|
2 |
83,562 |
Shell Programming and Scripting |
|
|
|
2 |
47,614 |
Shell Programming and Scripting |
|
|
|
3 |
65,626 |
Shell Programming and Scripting |
|
|
|
2 |
81,576 |
Shell Programming and Scripting |
|
|
|
17 |
200,800 |
Shell Programming and Scripting |
|
|
|
2 |
86,743 |
Shell Programming and Scripting |
|
|
|
5 |
92,442 |
Shell Programming and Scripting |
|
|
|
2 |
80,462 |
Shell Programming and Scripting |
|
|
|
2 |
76,289 |
Shell Programming and Scripting |
|
|
|
2 |
74,815 |
Shell Programming and Scripting |
|
|
|
2 |
78,807 |
Shell Programming and Scripting |
|
|
|
1 |
86,094 |
Shell Programming and Scripting |
|
|
|
3 |
70,224 |
Shell Programming and Scripting |
|
|
|
2 |
86,183 |
Shell Programming and Scripting |
|
|
|
4 |
72,892 |
Shell Programming and Scripting |
|
|
|
0 |
101,669 |
Shell Programming and Scripting |
|
|
|
5 |
57,470 |
Shell Programming and Scripting |
|
|
|
7 |
126,648 |
Shell Programming and Scripting |
|
|
|
9 |
140,752 |
Shell Programming and Scripting |
|
|
|
5 |
80,479 |
Shell Programming and Scripting |
|
|
|
3 |
93,714 |
Shell Programming and Scripting |
|
|
|
5 |
22,562 |
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)