(Cat? OR feline) AND NOT dog?
Cat? W/5 behavior
(Cat? OR feline) AND traits
Cat AND charact*

This guide provides a more detailed description of the syntax that is supported along with examples.

This search box also supports the look-up of an IP.com Digital Signature (also referred to as Fingerprint); enter the 72-, 48-, or 32-character code to retrieve details of the associated file or submission.

Concept Search - What can I type?

For a concept search, you can enter phrases, sentences, or full paragraphs in English. For example, copy and paste the abstract of a patent application or paragraphs from an article.

Concept search eliminates the need for complex Boolean syntax to inform retrieval. Our Semantic Gist engine uses advanced cognitive semantic analysis to extract the meaning of data. This reduces the chances of missing valuable information, that may result from traditional keyword searching.

COMMAND WHICH RUNS NATIVELY ON BOTH WINDOWS NT AND UNIX

Publishing Venue

Motorola

Related People

Authors:

Michael Rosenthal

Abstract

The ClearCase configuration management tool supports a trigger mechanism which allows a user to define a specific action to occur when a particular type of event transpires. The action to occur can either be a command or a specified file which can be executed. The path to the specified file for execu- tion will be different on the UNIX and Windows NT platforms, so specifying an explicit path in the trig- ger definition is not possible if the triggering event can occur on both UNIX and NT platforms. The solution provided by the vendor (prior to ClearCase 3.2) requires that the location to the tile for execu- tion is determined by the user's path environment variable. Since triggers are used as an enforcement mechanism, relying on the user's path is a security loophole. The following techniques allow explicit paths to be used for both UNIX and Windows NT commands. Other applications which run on both UNIX and Windows NT platforms may also benefit from using this technique.

Copyright

Motorola Inc. January 1999

Country

United States

Language

English (United States)

This text was extracted from a PDF file.

At least one non-text object (such as an image or picture) has been suppressed.

This is the abbreviated version, containing approximately
50% of the total text.

Page 1 of 2

0 M

MOTOROLA Technical Developments

COMMAND WHICH RUNS NATIVELY ON BOTH WINDOWS NT AND UNIX

by Michael Rosenthal

PROBLEM

The ClearCase configuration management tool supports a trigger mechanism which allows a user to define a specific action to occur when a particular type of event transpires. The action to occur can either be a command or a specified file which can be executed. The path to the specified file for execu- tion will be different on the UNIX and Windows NT platforms, so specifying an explicit path in the trig- ger definition is not possible if the triggering event can occur on both UNIX and NT platforms. The solution provided by the vendor (prior to ClearCase 3.2) requires that the location to the tile for execu- tion is determined by the user's path environment variable. Since triggers are used as an enforcement mechanism, relying on the user's path is a security loophole. The following techniques allow explicit paths to be used for both UNIX and Windows NT commands. Other applications which run on both UNIX and Windows NT platforms may also benefit from using this technique.

SOLUTION

The mechanism to allow a command to run on both platforms involves specifying both the UNIX and Windows NT commands as a command which can be evaluated by the native command interpreter on both the UNIX and Windows NT platforms such that only the command which is appropriate for the platform on which it is being executed is called.

Both Windows NT and the UNIX Boume shall allow for conditional processing of commands with the II and && binary operators. The && operator will only execute the right operand if the left operand executed successfully. The II operator will only execute the right operand if the left operand executed unsuccessfully. The following items will be incorporated into the dual platform command:

Windows NT allows for suppressing error messages output by redirecting standard error to the nul device, i.e., the Window NT command 2>>nul is equivalent to the UNIX command 2>>/dev/null. Redirecting standard error to a regular file (neither nul in Windows NT, nor /dev/null in UNIX) will cause the file to be created even if no error is gener- ated. Redirecting standard error on the UNIX plat- form to 2>>nul is a valid command as long as the file named nul can be created in the current directo- ry. Redirecting standard error to >>/dev/null in Windows NT will raise an error since /dev does not normally exist; this will force the...