Unix and Linux Discussions Tagged with shell scripting |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
409 |
422,938 |
Open Source |
|
|
|
192 |
260,167 |
Open Source |
|
|
|
249 |
262,249 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
9,210 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,414 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
42,559 |
Shell Programming and Scripting |
|
|
|
3 |
18,586 |
Shell Programming and Scripting |
|
|
|
4 |
8,209 |
UNIX for Beginners Questions & Answers |
|
|
|
11 |
14,343 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
7,362 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,153 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
5,803 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,565 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
12,878 |
UNIX for Beginners Questions & Answers |
|
|
|
11 |
5,930 |
Shell Programming and Scripting |
|
|
|
2 |
2,472 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,285 |
Shell Programming and Scripting |
|
|
|
2 |
2,211 |
Shell Programming and Scripting |
|
|
|
3 |
3,506 |
Shell Programming and Scripting |
|
|
|
11 |
6,755 |
Shell Programming and Scripting |
|
|
|
6 |
3,447 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
2,928 |
Shell Programming and Scripting |
|
|
|
8 |
8,622 |
Shell Programming and Scripting |
|
|
|
1 |
2,731 |
Shell Programming and Scripting |
|
|
|
4 |
3,347 |
Shell Programming and Scripting |
|
|
|
2 |
2,732 |
Shell Programming and Scripting |
|
|
|
1 |
4,700 |
Shell Programming and Scripting |
|
|
|
3 |
2,940 |
Shell Programming and Scripting |
|
|
|
4 |
2,709 |
Shell Programming and Scripting |
|
|
|
7 |
4,147 |
Shell Programming and Scripting |
|
|
|
5 |
14,231 |
Shell Programming and Scripting |
|
|
|
1 |
3,874 |
Shell Programming and Scripting |
|
|
|
4 |
16,076 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
3,069 |
Shell Programming and Scripting |
|
|
|
18 |
6,079 |
Shell Programming and Scripting |
|
|
|
4 |
3,837 |
Shell Programming and Scripting |
|
|
|
6 |
3,012 |
Shell Programming and Scripting |
|
|
|
9 |
4,337 |
Shell Programming and Scripting |
|
|
|
1 |
3,731 |
Shell Programming and Scripting |
|
|
|
1 |
5,209 |
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)