Difference between revisions of "Zbex utility programs"
(added chapter navigator at bottom of page) |
(added chapter navigator at top of page) |
||
Line 1: | Line 1: | ||
+ | |||
+ | {{ZbexChap | ||
+ | | before = [[Zbex Properties|Properties of Zbex]] | ||
+ | | after = [[Zbex variable declaration statements|Variable declaration statements]] | ||
+ | }} | ||
+ | |||
+ | |||
Dmuse comes with six Zbex utilities program. These programs are in the subdirectory called zprogs of the Dmuse home directory. Programs in this directory can be run simply by typing their name (without the .z extension) and then {{keypress|Enter}}. You can add your own Zbex programs to this directory and they, too, can be run simply by typing the name of the program. Like the programs already in the zprogs directory, they must have a .z extension. | Dmuse comes with six Zbex utilities program. These programs are in the subdirectory called zprogs of the Dmuse home directory. Programs in this directory can be run simply by typing their name (without the .z extension) and then {{keypress|Enter}}. You can add your own Zbex programs to this directory and they, too, can be run simply by typing the name of the program. Like the programs already in the zprogs directory, they must have a .z extension. | ||
Revision as of 06:03, 15 October 2010
Previous chapter Properties of Zbex |
Zbex Manual |
Next Chapter Variable declaration statements |
Dmuse comes with six Zbex utilities program. These programs are in the subdirectory called zprogs of the Dmuse home directory. Programs in this directory can be run simply by typing their name (without the .z extension) and then ↵ Enter. You can add your own Zbex programs to this directory and they, too, can be run simply by typing the name of the program. Like the programs already in the zprogs directory, they must have a .z extension.
Six Zbex Utility Programs
dcom.z | This program will compare the contents of two directories and report on all differences. The contents of all sub-directories will be examined. |
diff.z | This program will compare two files and report on all differences. The program works only when the two files are nearly the same. Similar in functionality to the unix command diff. |
fcompare.z | This is a program to compare all files in two directories with a specified extension. The files will be printed out with the labels BAD or OK, depending on whether they are identical or not. The files in directory 1 will serve as the model list. |
lost.z | This is a program to find a specified string in a set of path names. It is called lost, because it is useful in helping to find a file whose location (and possibly whose complete name) you have forgotten. Similar in functionality to the unix tools find and locate. |
qed.z | This is a line editor that allows you to edit very large flat ASCII files that won't fit in a Dmuse window. The maximum number of records that will fit in a Dmuse window is 1000000 (one million). |
search.z | This program will search for a specified string in all files in the current library having a particular extension. This program is useful in searching a set of .c files for all examples of the use of a particular variable. Similar in function to the unix command grep. |
The next several chapters of the Zbex manual describe the details of the of the Zbex programming language. After you have studied this documentation and have tried writing a few programs, you might want to return to this section and examine the six programs above to see how they use various features of the Zbex language.
Previous chapter Properties of Zbex |
Zbex Manual |
Next Chapter Variable declaration statements |