[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39724] history commands have an extraneous wh
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front |
Date: |
Thu, 08 Aug 2013 11:44:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 |
Follow-up Comment #4, bug #39724 (project octave):
I don't think a history line *is* data, a history line can *have* data
associated with it. It doesn't appear that we use that feature, but I'm not
sure.
Line numbers are definitely used, compare these three invocations:
> history 10
> history 10 -q
> lines = history (10)
If you want to ignore lines that are nothing but spaces, use
> history_control ("ignorespace")
Put that into your octaverc. This will actually not record any line that
starts with a single space. This is a standard readline history feature
compatible with bash and other readline programs.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39724>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/07
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Mike Miller, 2013/08/08
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/08
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/08
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front,
Mike Miller <=
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/08
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/08
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Mike Miller, 2013/08/12
- [Octave-bug-tracker] [bug #39724] history commands have an extraneous white space at the front, Dan Sebald, 2013/08/13