Unix and Linux Discussions Tagged with unix shell scripting |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
7,037 |
Shell Programming and Scripting |
|
|
|
6 |
3,634 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
2,784 |
Shell Programming and Scripting |
|
|
|
2 |
1,264 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
8,359 |
Shell Programming and Scripting |
|
|
|
1 |
2,891 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
13,931 |
Shell Programming and Scripting |
|
|
|
2 |
1,390 |
Shell Programming and Scripting |
|
|
|
3 |
2,226 |
Shell Programming and Scripting |
|
|
|
4 |
8,417 |
Shell Programming and Scripting |
|
|
|
9 |
16,897 |
Shell Programming and Scripting |
|
|
|
7 |
2,210 |
Shell Programming and Scripting |
|
|
|
3 |
5,104 |
Shell Programming and Scripting |
|
|
|
1 |
6,337 |
Shell Programming and Scripting |
|
|
|
1 |
2,996 |
Shell Programming and Scripting |
|
|
|
7 |
3,788 |
Shell Programming and Scripting |
|
|
|
2 |
3,505 |
Shell Programming and Scripting |
|
|
|
2 |
1,585 |
Shell Programming and Scripting |
|
|
|
6 |
3,155 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
3,904 |
Shell Programming and Scripting |
|
|
|
8 |
4,155 |
Shell Programming and Scripting |
|
|
|
5 |
6,505 |
Shell Programming and Scripting |
|
|
|
3 |
1,466 |
Shell Programming and Scripting |
|
|
|
4 |
1,853 |
Shell Programming and Scripting |
|
|
|
3 |
3,276 |
Shell Programming and Scripting |
|
|
|
2 |
4,401 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,399 |
Homework & Coursework Questions |
|
|
|
1 |
5,744 |
Shell Programming and Scripting |
|
|
|
20 |
15,962 |
Shell Programming and Scripting |
|
|
|
12 |
49,174 |
Shell Programming and Scripting |
|
|
|
2 |
8,800 |
Shell Programming and Scripting |
|
|
|
2 |
8,124 |
Shell Programming and Scripting |
|
|
|
1 |
1,911 |
Shell Programming and Scripting |
|
|
|
3 |
2,431 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
6,952 |
Shell Programming and Scripting |
|
|
|
8 |
3,930 |
Shell Programming and Scripting |
|
|
|
3 |
7,462 |
Shell Programming and Scripting |
|
|
|
3 |
14,894 |
UNIX for Dummies Questions & Answers |
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)