This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to remove duplication in history?
- From: "Peng Yu" <pengyu dot ut at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 21 Jul 2008 16:54:23 -0500
- Subject: How to remove duplication in history?
Hi,
In bash, I could use the following command to remove all the duplicate
lines in command history. I'm wondering if this is possible in gdb.
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
Thanks,
Peng