Chapter Contents

Previous

Next
SAS Companion for UNIX Environments

Opening Files

The Open dialog box enables you to select files from the host file system. To open this dialog box, select

File
[arrow]
Open...

Open Dialog Box

[IMAGE]

The Open dialog box contains two list boxes:

Directories
contains the names of the directories specified in the Filter field.

Files
contains the files in the selected directory that match the filter specified.

The dialog box displays nonreadable directories with a different icon.

To display a list of all the files in a directory, enter the asterisk (*) wild card in the Filter field or select All Files; * as the file type.

The directory shown under the Filter field is the currently selected directory. You can change this directory either by selecting a name from the Directories list or by typing the new name directly into the field.

To include or exclude hidden files and directories from the graphical display, select or deselect [Include hidden].

To specify that both upper- and lowercase names be included in the display, select [Ignore Case]. (If you select All Files; * as the filter, both upper- and lowercase names are displayed whether or not you select [Ignore Case].)

You can specify the initial filter in the File type field by assigning a value to the SAS.pattern resource. However, the Open dialog box retains its filter between invocations, so the SAS.pattern resource applies only to the first invocation of the Open dialog box. You can also use the SAS.directory resource to specify the directory that you want when you first invoke the Open dialog box.

For more information about specifying SAS resources, see Using X Resources to Customize the Motif Interface.


Using Regular Expressions in Filenames

Everything that you enter into the Open dialog box is treated as a regular expression. When you are opening or saving a file and you want to use a regular expression special character as part of the filename, precede the character with a backslash (\). For example, to write to a file named $jan, enter \$jan as the filename.

For more information on regular expressions, refer to man page 5 for regexp:

man 5 regexp


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.