home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
SIFT10.ZIP
/
SIFT.DOC
< prev
next >
Wrap
Text File
|
1993-06-27
|
11KB
|
299 lines
STEENBURGH'S STUFF
Mildly Useful Utilities
For Batch Files
Version 3.0
Copyright 1991-1993 by Chuck Steenburgh and Tay-Jee Software
_______
____|__ | (TM)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
SIFT Version 1.0
Page 1
Copyright 1993 Chuck Steenburgh & Tay-Jee Software
The three filters that come with DOS, MORE, FIND, and SORT,
are indispensable batch file programming tools. Unfortunately,
as useful as they are, they are still fairly limited in what
they can do. SIFT is a multi-purpose DOS filter that greatly
expands on the capabilities of FIND.
Syntax:
SIFT [options] < source
source | SIFT [options]\n");
[options] one or more of the following:\n");
/a Non-numeric output only. Strips all
numbers from output.
/b Backwards (reverse) output. Reverses
each line of filtered text.
/c Display occurence of find only (iden-
tical to FIND).
/d Numeric output only. Strips all non-
numeric characters from output.
/e[nnn] Convert to non-graphic characters.
SIFT will normally substitute the "*"
(ASCII 42) character unless an alter-
nate ASCII value is specified as nnn.
/fxxxxxx Output (find) lines containing string
xxxxxx only.
/i case-insensitive find (/f or /v)
(identical to FIND).
/l convert output to lowercase
/n display line numbers of output (iden-
tical to FIND).
/pnn inverse truncate after nn characters
(print output, skipping first nn char-
acters).
/r display number of occurence of output
(relative position of find)
/tnn truncate output to nn characters
/u convert output to uppercase
Page 2
/vxxxxxx display lines NOT containing string
xxxxxx
/2 Two-column output. Successive lines
of less than 40 characters are com-
bined on the same output line.
/h or /? Display help screen
SIFT is essentially a superset of the FIND filter, providing
many more functions. It uses the basic syntax of the FIND com-
mand.
Examples:
PATH | SIFT /P5
Displays the PATH setting, excluding the first 5 characters
(i.e., "PATH=").
SIFT /FTay-Jee /I /D < PHONE.LST
Searches the file PHONE.LST for the string "Tay-Jee" (any
case) and outputs all NUMERIC values on that line. Useful,
for example, in finding/displaying phone numbers or other
values.
OMBUDSMAN
This program is produced by a member of the Association of
Shareware Professionals (ASP). ASP wants to make sure that
the shareware principle works for you. If you are unable to
resolve a shareware-related problem with an ASP member by
contacting the member directly, ASP may be able to help. The
ASP Ombudsman can help you resolve a dispute or problem with
an ASP member, but does not provide technical support for
members' products. Please write to the ASP Ombudsman at 545
Grover Road, Muskegon, MI 49442 or send a CompuServe message
via CompuServe Mail to ASP Ombudsman, 70007,3536.
DISCLAIMER
The programs described in this documentation are guaran-
Page 3
teed to do absolutely nothing! They have, however, in my exper-
ience performed essentially as described herein. The author
will not be responsible for any loss or damages caused through
the use of these programs. No warranty, express or implied,
is provided for this software's performance, merchantability,
or fitness for a particular purpose.
All trademarks are property of their respective owners.
The programs and documentation are Copyright 1991,1992 by
Chuck Steenburgh. You are encouraged to distribute these pro-
grams provided the following conditions are met:
- all files contained in the archive or distribution disk
must be distributed together in UNMODIFIED form
- you charge no more than a reasonable fee for copying or
subscription, and clearly indicate that payment of such
a fee does NOT grant ownership of the programs.
This program is part of set of utilities known as STEEN-
BURGH'S STUFF (Mildly Useful Utilities). The full set of
utilities includes the following programs:
BATBOX: Simple menu creation/input system
CHKDRV: Checks disk drive status
CHKPRN: Checks parallel printer status
CLK: Displays time on screen
CURSOR: Change cursor shape
DOSVER: Checks for DOS version currently running
INPUT: Simple prompt/input system
KLS: Colorful screen-clearing utility
LAUNCHER: File selection/execution system
MUSIC: Plays transcribed sheet music on the PC
RAND: Random number generator
SKIP: Prints blank lines from batch files
SOUNDER: Wide range of noise making options
SPACE: File/disk space reporting utility
WAITFOR: Timed pauses
WHENISIT: Date/time telling utility
WRITE: Colorful output anywhere on screen
XD: Create/switch directories at the same time
You may evaluate these programs for up to 30 days on a free
trial basis. After 30 days, you should register your use of
these programs. The registration fee is $20, payable to the
author at the address given below. For those registering
directly with Tay-Jee Software, we offer a $5 cash discount.
Let's be real: I don't plan to make a lot of money this way.
Registration does have its advantages:
- I am improving these programs all the time. Registration
will get you IMMEDIATELY a disk with the latest version.
Page 4
You will also get the next major release of the program set
sent to you free of charge.
- While I can't promise to include everyone's suggestions
in program updates, you can bet I'll listen to registered
users before any of you scrounges out there.
- You will make me feel all warm and fuzzy and appreciated,
and all that good stuff.
- You will also get an evaluation copy of my text file for-
matting program (used to produce the margins in this doc-
ument), and any other electronic creations I have decided
to unleash on a foolish, unsuspecting world.
Send comments/registrations to:
Tay-Jee Software
Post Office Box 835
Lexington, VA 24450
(703)464-5290
!!!VIRGINIA RESIDENTS ADD 4.5SALES TAX!!!
CIS 72330,1776 (I haunt the IBMSYS and IBMPRO forums)
Page 5