AminetAminet
Search:
82050 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/batch/case.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Change case of input or env. variables.
Author:krf101 at york.ac.uk (Kevin Fairhurst)
Uploader:krf101 york ac uk (Kevin Fairhurst)
Type:util/batch
Architecture:m68k-amigaos
Date:1996-06-04
Download:http://aminet.net/util/batch/case.lha - View contents
Readme:http://aminet.net/util/batch/case.readme
Downloads:1166
Case is a package of two utilities, 'Upper' and 'Lower'.

Their main use is for in scripts.  Imagine if you wanted to check what a
user had typed ... think of all the different combinations of upper and
lower case the letters could be!  Using Case, you can convert the users
input into a fixed case, which can be checked easily!

Both utilities are used in the same way, the only difference being Upper
converts to upper case, and Lower to lower case.

Using the utilities is simple, eg typing "Upper aBcDe" will output "ABCDE"

If you wish to use environment variables, 

setenv Bob "My name is Bob!"
Lower $Bob

Output will be "my name is bob!"


Contents of util/batch/case.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1016    2100  48.4% -lh5- 9036 May 29  1996 Case.doc
[generic]                  566     732  77.3% -lh5- 3a14 Mar 30  1996 Lower
[generic]                  566     732  77.3% -lh5- d13b Mar 30  1996 Upper
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    2148    3564  60.3%            Jun  4  1996

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>