summaryrefslogtreecommitdiffabout
path: root/doc
authorSergey Poznyakoff <gray@gnu.org.ua>2013-05-09 10:55:36 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-05-09 10:55:36 (GMT)
commitdde73ecb9ebe26eee6db660373b7ee8bb9e3bae2 (patch) (side-by-side diff)
treecea035c022ed5f5a138dc3d8d5f90e70f69a230f /doc
parent467eac6072252e67384b23bc2aebb443540d231d (diff)
downloadgdbm-dde73ecb9ebe26eee6db660373b7ee8bb9e3bae2.tar.gz
gdbm-dde73ecb9ebe26eee6db660373b7ee8bb9e3bae2.tar.bz2
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)
-rw-r--r--doc/gdbmtool.18
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 <http://www.gnu.org/licenses/>. */
-.TH GDBM_DUMP 1 "May 8, 2013" "GDBM" "GDBM User Reference"
+.TH GDBM_DUMP 1 "May 9, 2013" "GDBM" "GDBM User Reference"
.SH NAME
gdbmtool \- examine and modify a GDBM database
.SH SYNOPSIS
@@ -189,8 +189,14 @@ replaced in the generated prompt as follows:
.ul
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
.fi
+.sp
+The default prompt is \fB%p>%_\fR.
.TP
.BR quit ", " q
Close the database and quit the utility.

Return to:

Send suggestions and report system problems to the System administrator.