ONECASE

[ Program Manual | User's Guide | Data Files | Databases ]

Table of Contents
FUNCTION
DESCRIPTION
EXAMPLE
RELATED PROGRAMS
RESTRICTIONS
COMMAND-LINE SUMMARY
LOCAL DATA FILES
PARAMETER REFERENCE

FUNCTION

[ Top | Next ]

OneCase puts all of the alphabetic characters in a file into lower or UPPER case. It can also capitalize every word.

DESCRIPTION

[ Previous | Top | Next ]

OneCase accepts a file or a list of file names and makes new files that are either all uppercase or all lowercase. Usually the new files have the same names as the original and are written into your current working directory, but you may rename or redirect them on the command line.

EXAMPLE

[ Previous | Top | Next ]

Here is a session using OneCase to set all of the files with a .seq file extension into uppercase:


% onecase

  ONECASE of what file(s) ?  *.seq

  Put those file(s) into all

    L)ower or all
    U)pper
    C)apitalize each word

  case (* L *) ?  u

               9b_06.seq
               9b_07.seq
               9b_15.seq

            ////////////

%

RELATED PROGRAMS

[ Previous | Top | Next ]

Replace, CompressText, OneCase, ShiftOver, DeTab, ChopUp, LPrint, and ListFile are the Wisconsin Package file utilities programs.

RESTRICTIONS

[ Previous | Top | Next ]

Unknown.

COMMAND-LINE SUMMARY

[ Previous | Top | Next ]

All parameters for this program may be added to the command line. Use -CHEck to view the summary below and to specify parameters before the program executes. In the summary below, the capitalized letters in the parameter names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.


Minimal Syntax: % onecase [-INfile1=]*.seq -Default

Prompted Parameters:

-MENu=l    sets lower or upper case conversion:
             u = UPPER
             l = lower
             c = Capitalize Each Word

Local Data Files:    None

Optional Parameters:

-EXTension=.txt      sets the output file name extension
-Directory=DirName   directs output to another directory
-NOMONitor           suppresses all screen output

LOCAL DATA FILES

[ Previous | Top | Next ]

None.

PARAMETER REFERENCE

[ Previous | Top | Next ]

You can set the parameters listed below from the command line. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.

-MENu=u

selects the conversion to apply from the following menu: u=upper case, l=lower case, c=capitalize each word.

-EXTension=.txt

gives the output file a file name extension that is different from the input file's original name extension.

-DIRectory=DirName

writes the output files into a directory other than your current working directory.

-MONitor

This program normally monitors its progress on your screen. However, when you use -Default to suppress all program interaction, you also suppress the monitor. You can turn it back on with this parameter. If you are running the program in batch, the monitor will appear in the log file.

Printed: December 9, 1998 16:30 (1162)

[ Program Manual | User's Guide | Data Files | Databases ]


Documentation Comments: doc-comments@gcg.com
Technical Support: help@gcg.com

Copyright (c) 1982-2001 Genetics Computer Group, Inc. A subsidiary of Pharmacopeia, Inc. All rights reserved.

Licenses and Trademarks Wisconsin Package is a trademark of Genetics Computer Group, Inc. GCG and the GCG logo are registered trademarks of Genetics Computer Group, 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.

Genetics Computer Group

www.gcg.com