Difference between revisions of "Zbex utility programs"

From CCARH Wiki
Jump to navigation Jump to search
(added chapter navigator at top of page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
 
{{ZbexChap
 
{{ZbexChap
   | before = [[Zbex Properties|Properties of Zbex]]  
+
   | before = [[Zbex Properties|Properties]]  
 
   | after = [[Zbex variable declaration statements|Variable declaration statements]]
 
   | 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.   
Line 30: Line 28:
  
 
{{ZbexChap
 
{{ZbexChap
   | before = [[Zbex Properties|Properties of Zbex]]  
+
   | before = [[Zbex Properties|Properties]]  
 
   | after = [[Zbex variable declaration statements|Variable declaration statements]]
 
   | after = [[Zbex variable declaration statements|Variable declaration statements]]
 
}}
 
}}

Latest revision as of 14:54, 15 October 2010

Previous chapter
Properties
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.zThis program will compare the contents of two directories and report on all differences. The contents of all sub-directories will be examined.
diff.zThis 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.zThis 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.zThis 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.zThis 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.zThis 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
Zbex
Manual
Next Chapter
Variable declaration statements