help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extension to "help"?


From: Ted Harding
Subject: Extension to "help"?
Date: Fri, 28 Feb 1997 13:46:36 +0000 (GMT)

I'd like to suggest a useful extension to octave's "help".

Namely

  help dirname

would list all the .m files in directory dirname, presumed to be in the
octave search path (or in all directories with that name in the serach
path).

If you do just "help" you get all .m files, anywhere. If you try, say,
"help control" you get nothing. It would be useful to (in this case)
find all the .m files for "control". This would be especially useful
for directories where the user may have stored his own .m files -- one
sometimes forgets what one may have written in the past!

One can think of various forms for the syntax. E.g.

   help dirname               all files IN dirname
   help dirname//             all files IN/UNDER dirname
   help dir1/dir2             so you only get the dir2 which is under dir1
                              (as opposed to help dir2 which would find
                              all instances of dir2).

Best wishes,
Ted.                                    (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]