
The Bootable CD comes with some shell utilities written over the years to make shell programming a bit easier for common items. Some of these are described here.
Formatted input: Sometimes youi want to force the user to give you an integer, integers, number, IP address, etc. Programs for these include:
| count | count [to] | [from to [by]] |
| digits | get some digits |
| dollars | get some dollars (and optional cents) |
| IPaddr | get an IP address |
| netadd | get a DNS name |
| number | get a number |
| ok | get and ok (or not ok) |
| state | get a State identifier |
| word | get a word-like thing |
| words | get a series of words |
| yorn | get a [y or n] |
| YORN | get a [Y or N] |
Transforms: These programs transform inputs in various ways:
| atoi | convert character(s) to integers |
| atoo | convert character(s) to octal |
| crlf | make lines end with CRLF |
| htoc | convert hex to characters |
| noquote | no shell quote characters allowed |
| nocr | no carriage returns (only line feeds) in output |
| noctrl | get rid of control characters |
| nonull | no null butes |
| noparity | no parity bit |
| relf2 | put line feeds in place of carriage returns |
| relf | re linefeed the document |
| relflab | relinefeed labels |
| reline | make line lengths fit on screens - weak form of left justificaiton |
| unscape | make Netscape percent sign things go away |
| utodos | Unix to Dos transformation of text files |
Handy functions: For some reasons, I sometimes want to do these things:
| 1st2chr | First two characters only |
| 1stchr | First character only |
| 2dig | I want a two-digit thing |
| dad | add dates |
| dayadd | add dates another way |
| db | a database system |
| dcmp | compare dates |
| dsub | subtract dates |
| menu | a nice workable menu system |
| noreps | no repetitions of lines |
| nrepsum | no repetitions and count how many of each |
| oneofeach | give me one of each please |
| patmat | match patterns (for virus detection) |
| toupper | convert to upper case |
| tolower | convert to lower case |