Unix and Linux Discussions Tagged with shell scipting |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
12,871 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
9,384 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,382 |
Shell Programming and Scripting |
|
|
|
1 |
9,586 |
Shell Programming and Scripting |
|
|
|
6 |
7,989 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,029 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
5,803 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,476 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,581 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
7,078 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,287 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
6,867 |
Shell Programming and Scripting |
|
|
|
1 |
2,385 |
Shell Programming and Scripting |
|
|
|
2 |
1,659 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,971 |
Shell Programming and Scripting |
|
|
|
4 |
9,348 |
Shell Programming and Scripting |
|
|
|
6 |
2,060 |
Shell Programming and Scripting |
|
|
|
2 |
6,377 |
Shell Programming and Scripting |
|
|
|
4 |
7,872 |
Shell Programming and Scripting |
|
|
|
2 |
1,588 |
Shell Programming and Scripting |
|
|
|
19 |
6,572 |
Shell Programming and Scripting |
|
|
|
3 |
6,453 |
Shell Programming and Scripting |
|
|
|
7 |
3,950 |
Shell Programming and Scripting |
|
|
|
8 |
3,767 |
Shell Programming and Scripting |
|
|
|
0 |
13,001 |
Shell Programming and Scripting |
|
|
|
0 |
1,361 |
Shell Programming and Scripting |
|
|
|
2 |
2,067 |
Shell Programming and Scripting |
|
|
|
7 |
3,635 |
Shell Programming and Scripting |
|
|
|
10 |
4,234 |
Shell Programming and Scripting |
|
|
|
8 |
2,877 |
Shell Programming and Scripting |
|
|
|
7 |
12,862 |
HP-UX |
|
|
|
9 |
3,417 |
Shell Programming and Scripting |
|
|
|
4 |
2,350 |
Shell Programming and Scripting |
|
|
|
4 |
2,295 |
Shell Programming and Scripting |
|
|
|
6 |
2,799 |
Shell Programming and Scripting |
|
|
|
5 |
9,144 |
Shell Programming and Scripting |
|
|
|
3 |
2,452 |
Shell Programming and Scripting |
|
|
|
0 |
1,865 |
Shell Programming and Scripting |
|
|
|
0 |
1,793 |
Shell Programming and Scripting |
|
|
|
1 |
5,171 |
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)