Age | Commit message (Collapse) | Author | Files | Lines |
|
This exercise is probably the most challenging "function puzzle" thus
far. Modifying getword(), using various states, and the hashtable all
create an example of how small building blocks can work together to
make something.
The implementation is very simple and nowhere near completely supporting
'#define', but that's not the point. To properly support it, you'd need
to build an entire preprocessor/parser, and that's far beyond the scope
of both the exercise and book.
|
t present, user modification is needed to make these seamless. vgup()
may need to be axed in favor of telling the user to make an alias.
|
It used to point to a directory, which would then look for .vgstash.db.
This behavior was kind of backwards and I don't remember why I did it
that way. This change gives users more control over where they put their
DB.
Be sure to update your environment variable if you have it set!
|
|
Sourcing them in .bash_profile screws up login if they're set.
|
|
|
|
|
|
|
|
Loops and functions -- oh my, what a useful combination. :)
|
|
|
|
|
|
|
|
Also correct a typo.
|