Files
mercury/scripts/mdb_open
Zoltan Somogyi 62dda38678 Make the mdb command "dump" give you a message confirming what it did.
Estimated hours taken: 2
Branches: main

Make the mdb command "dump" give you a message confirming what it did.

trace/mercur_trace_cmd_browsing.c:
	Make the mdb command "dump" give you a message confirming what it did,
	unless the user gives the new -q or --quiet option.

doc/user_guide.texi:
	Document the new option.

scripts/mdb_grep:
scripts/mdb_open:
	Specify -q to keep old behavior.

tests/debugger/browser_test.{inp,exp,exp3}:
	Update this test case to test the dump command both with and
	without -q.
2010-09-30 04:21:18 +00:00

8 lines
225 B
Plaintext

# This script saves a term to a file and then opens the file with an
# editor.
# $1 is any valid term reference accepted by the dump command.
#
dump -q $1 .mdb_open_tmp
shell ${EDITOR-vi} .mdb_open_tmp
shell rm .mdb_open_tmp