[ Program Manual | User's Guide | Data Files | Databases ]
Overview
Control-Key Differences
UNIX Metacharacter Descriptions
Summary of Command-Line Differences
This appendix is intended for users whose sites have switched from the OpenVMS version of the Wisconsin Package to the UNIX version. You will find the following information in this appendix:
The following table lists the control key combinations that are different between UNIX and OpenVMS.
| OpenVMS | UNIX | Description |
| <Ctrl>C <Ctrl>Y |
<Ctrl>c | Ends a program. |
| Not Available | <Ctrl>z | Suspends a program. |
| <Ctrl>Z | <Ctrl>d | End of file. |
The UNIX shell recognizes some characters as having special meaning (see % man csh for more information). Although these characters, called shell metacharacters, may have no particular meaning in an OpenVMS environment, they do have meaning in a UNIX environment.
The following table lists common UNIX shell metacharacters and their descriptions.
| Character | Example | Description |
| $ (dollar sign) |
% cd $GCGCOREROOT | Specifies that the non-blank characters following the $ are the name of a shell or environment variable. |
| & (ampersand) |
% fasta in:drogpdh -def & | Specifies that the part of the command line preceding the & should be run in the background. |
| > (greater than) |
% fasta in:drogpdh -def > fasta.log & | Specifies that the output from the part of the command line preceding the > should be redirected into a file with the name of the word following it. |
| < (less than) |
% cat < fasta.log | Specifies that the command input be taken from a file following the <. |
| | (pipe) |
% typedata in:drogpdh | more | Specifies that the output from the command should be piped into the command following the |. |
| ! (exclamation point) |
% !! % !21 |
Specifies a history substitution, that is, use of a previously entered command line. % !! recalls your previous command. % !n recalls command n on your list of previously entered commands. |
| \ (backslash) |
% stringsearch gb_pr:* drb3\$ -Default | Specifies that the character following the \ should be prevented from shell interpretation. |
| ( ) (parentheses) |
% (cd adhdir ; fetch in:droadh*) | Specifies that the command line enclosed in ( ) should be executed in a subshell. |
| ; (semicolon) |
% cd adhdir ; fetch in:droadh* | Specifies that the command line is two commands (one on both sides of the semicolon). |
| ` (backquote) |
% cd `name -f GenDocData` | Specifies that the text enclosed between a pair of backquotes should be run as a command first, before submitting its output to the rest of the command line. |
| ' (single quotation marks) |
% stringsearch gb_pr:* 'drd3$' -Default | Specifies that the shell should not interpret the characters enclosed within the single quotation marks. You can include spaces, * or ? wildcards, or the $ within the single quotes. |
| " (double quotation marks) |
% stringsearch in:* "light chain" -Default | Specifies that the shell should not interpret the characters enclosed in double quotes, including spaces and * or ? wildcards. Note that the $ shell variable will be interpreted. |
| * (asterisk) |
% ls gam* | Used as a wildcard in a filename specification, it specifies zero or more of any character. |
| ? (question mark) |
% fetch ?gamma.seq | Used as a wildcard in a filename specification, specifies one of any character. |
| ~ (tilde) |
% more ~/fasta.log | Used as a wildcard in a filename specification, expands to the home directory of the user. |
Note: Because the asterisk (*) and question mark (?) are frequently used characters for specifying ambiguous database entries, the Wisconsin Package provides an alias for each Wisconsin Package command to disable globbing. Therefore, you can freely use these characters on the command line when invoking Wisconsin Package programs.
The following table compares the general rules for entering Wisconsin Package command-line information in OpenVMS and UNIX.
| Topic | OpenVMS | UNIX |
| Abbreviations | You can abbreviate most commands. The documentation indicates the abbreviation in bold. | You cannot abbreviate commands. |
| You can abbreviate most parameters. The documentation indicates the abbreviation in bold uppercase. | Same as OpenVMS. | |
| Case Sensitivity | Commands are case insensitive. | Commands are always lowercase. |
| Parameter qualifiers are case insensitive. | Same as OpenVMS. | |
| Parameter values are case insensitive. | The case sensitivity for parameter values varies depending on the parameter. For example, if you provide a filename as a parameter value, it is case sensitive. | |
| Directory names are case insensitive. | Directory names are case sensitive. | |
| File names are case insensitive. | File names are case sensitive. | |
| Database names, logical names, and sequence entries are case insensitive. | Same as OpenVMS. | |
| Naming Devices | The syntax for device names vary from that of directory or file names. For example LTA13: (printer) DISK:[Dir]FileName.Txt (file) |
The syntax for device names is the same as for directory and filenames. For example /dev/tty16 (printer) /usr/dir/filename.txt (file) |
| You can name and refer to disks (DISK:). | You cannot name or refer to disks. | |
| Parameters | A slash (/) indicates a command-line parameter. An equal sign (=) indicates a parameter that requires a value. Not all parameters require values. For example /OUT=MyFile.Test /Default |
A dash (-) indicates a command-line parameter. An equal sign (=) indicates a parameter that requires a value. Not all parameters require a value. For example -OUT=myfile.test -Default |
| Spaces | Spaces are ignored between a command and its parameter(s). | Spaces are required (at least one) between a command and its parameters. |
| Spaces are ignored between command-line parameters. | Spaces are required (at least one) between command-line parameters. | |
| Spaces are not allowed between a parameter and its value. | Same as OpenVMS. | |
| Wildcards | The asterisk (*) wildcard serves as an ambiguous replacement for a character or group of characters; the * means "anything or nothing." For example gamma.* matches all files that begin with "gamma." gam*.map matches all files that begin with "gam" and have an extension of "map." |
Same as OpenVMS. |
| The percent sign (%) wildcard serves as an ambiguous replacement for one character. You can use multiple % to specify a defined number of ambiguous characters. For example gamma.s%% matches all files that begin with "gamma" and have a three-letter extension starting with "s." |
The question mark (?) wildcard serves as an ambiguous replacement for one character. You can use multiple ? to specify a defined number of ambiguous characters. For example gamma.s?? matches all files that begin with "gamma" and have a three-letter extension starting with "s." |
[ Program Manual | User's Guide | Data Files | Databases ]
Technical Support: support-us@accelrys.com
or support-eu@accelrys.com
Copyright (c) 1982-2002 Accelrys Inc. A subsidiary of Pharmacopeia, Inc. All rights reserved.
Licenses and Trademarks: Wisconsin Package is a trademark and GCG and the GCG logo are registered trademarks of Accelrys Inc.
All other product names mentioned in this documentation may be trademarks, and if so, are trademarks or registered trademarks of their respective holders and are used in this documentation for identification purposes only.