path: root/doc
authorSergey Poznyakoff <>2013-05-09 10:55:36 (GMT)
committer Sergey Poznyakoff <>2013-05-09 10:55:36 (GMT)
commitdde73ecb9ebe26eee6db660373b7ee8bb9e3bae2 (patch) (side-by-side diff)
treecea035c022ed5f5a138dc3d8d5f90e70f69a230f /doc
parent467eac6072252e67384b23bc2aebb443540d231d (diff)
Add new prompt escapes.
* src/testgdbm.c: New prompt escapes: %p, %P, %v, %_. Change default prompt to %p>%_. * doc/gdbmtool.1: Document new prompt escapes.
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/gdbmtool.1 b/doc/gdbmtool.1
index e6a8f2a..1c2d2c4 100644
--- a/doc/gdbmtool.1
+++ b/doc/gdbmtool.1
@@ -13,7 +13,7 @@
.\" You should have received a copy of the GNU General Public License
.\" along with GDBM. If not, see <>. */
-.TH GDBM_DUMP 1 "May 8, 2013" "GDBM" "GDBM User Reference"
+.TH GDBM_DUMP 1 "May 9, 2013" "GDBM" "GDBM User Reference"
gdbmtool \- examine and modify a GDBM database
@@ -189,8 +189,14 @@ replaced in the generated prompt as follows:
Sequence Expansion
\fB%f\fR name of the db file
+ \fB%p\fR program name
+ \fB%P\fR package name (\fBgdbm\fR)
+ \fB%_\fR horizontal space (\fBASCII\fR 32)
+ \fB%v\fR program version
\fB%%\fR \fB%\fR
+The default prompt is \fB%p>%_\fR.
.BR quit ", " q
Close the database and quit the utility.

Return to:

Send suggestions and report system problems to the System administrator.