[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39303] print_usage not working for some funct
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package |
Date: |
Thu, 20 Jun 2013 22:14:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 |
Update of bug #39303 (project octave):
Category: Documentation => Octave Forge Package
Summary: print_usage not working => print_usage not working
for some functions in signal Octave-Forge package
_______________________________________________________
Follow-up Comment #4:
Okay, I found the problem. It is with the butter.m file.
The start of the help text is
## Generate a butterworth filter.\n
## Default is a discrete space (Z) filter.\n
## \n
print_usage prints either 1) the help text until the first double newline
"\n\n", 2) all of the text if it is short, or 3) the first 80 characters if
the help text is long.
In this case, the comment characters '##' are stripped but that still leaves a
space at the beginning of the line so that "\n \n" doesn't match.
I don't know if this is the greatest, but the solution is simply to remove the
space in butter.m.
## Generate a butterworth filter.\n
## Default is a discrete space (Z) filter.\n
##\n
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39303>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39303] print_usage not working, Doug Stewart, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working, Rik, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working, Doug Stewart, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working, Doug Stewart, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package,
Rik <=
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package, Doug Stewart, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package, John W. Eaton, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package, Rik, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package, John W. Eaton, 2013/06/20
- [Octave-bug-tracker] [bug #39303] print_usage not working for some functions in signal Octave-Forge package, Mike Miller, 2013/06/20