[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using command number in octave:1>
From: |
David Grundberg |
Subject: |
using command number in octave:1> |
Date: |
Mon, 21 Jun 2010 09:58:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Hi,
when you start Octave, it shows you a prompt, like this:
octave:1>
That follows from PS1, set to '\s:\#> '. I read the docs and \# is
apparently called the "command number". (Not the same concept as
"history number".)
I searched for command number in the bash manual and in the readline
user manual, but I can't find what use it has. Can I feed it back into
readline? Can I use it to reference previous commands?
David
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- using command number in octave:1>,
David Grundberg <=