aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-05-09 10:55:36 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2013-05-09 10:55:36 +0000
commitdde73ecb9ebe26eee6db660373b7ee8bb9e3bae2 (patch)
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')
-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 @@
13.\" 13.\"
14.\" You should have received a copy of the GNU General Public License 14.\" You should have received a copy of the GNU General Public License
15.\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ 15.\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
16.TH GDBM_DUMP 1 "May 8, 2013" "GDBM" "GDBM User Reference" 16.TH GDBM_DUMP 1 "May 9, 2013" "GDBM" "GDBM User Reference"
17.SH NAME 17.SH NAME
18gdbmtool \- examine and modify a GDBM database 18gdbmtool \- examine and modify a GDBM database
19.SH SYNOPSIS 19.SH SYNOPSIS
@@ -189,8 +189,14 @@ replaced in the generated prompt as follows:
189.ul 189.ul
190 Sequence Expansion 190 Sequence Expansion
191 \fB%f\fR name of the db file 191 \fB%f\fR name of the db file
192 \fB%p\fR program name
193 \fB%P\fR package name (\fBgdbm\fR)
194 \fB%_\fR horizontal space (\fBASCII\fR 32)
195 \fB%v\fR program version
192 \fB%%\fR \fB%\fR 196 \fB%%\fR \fB%\fR
193.fi 197.fi
198.sp
199The default prompt is \fB%p>%_\fR.
194.TP 200.TP
195.BR quit ", " q 201.BR quit ", " q
196Close the database and quit the utility. 202Close the database and quit the utility.

Return to:

Send suggestions and report system problems to the System administrator.