Dxmaint
Fairlight
fairlite at fairlite.com
Wed Aug 25 04:49:11 PDT 2004
Confusious (William Randall) say:
> > > It dawned on me recently that, for my own purposes, I could create a
> > > menu option
> > > using
> > >
> > > /fp/dxmaint !! -ra -e
> > >
> > > A voila, all auto indexes for the selected file are rebuilt.
> > >
> > > Now why didn't I think of this years ago?
> >
> > Um, isn't the syntax:
> >
> > /fp/dxmaint - -ra -e
> >
> > --
> > Laura Brody
>
> Either one will trigger the filename selection box because !! is invalid but
> your syntax is more in keeping with other command syntax use.
Not to mention it won't give [t]csh fits. If your last command had been
"clear" and you used the !! notation in a csh-type shell, you'd effectively
end up with: /fp/dxmaint clear -ra -e
That's because !! means the last command in the history for csh-type
shells.
If you had a filePro file named 'clear', you'd suddenly be rebuilding the
indexes on what you didn't intend to. ...Oops. :)
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list