Dxmaint

Fairlight fairlite at fairlite.com
Wed Aug 25 13:42:16 PDT 2004


You'll never BELIEVE what Jay Ashworth said here...:
> On Wed, Aug 25, 2004 at 07:49:11AM -0400, Fairlight wrote:
> > 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.
> 
> I believe that particular interpretation of !! only happens at the
> interactive commandline for those shells, when reading from a terminal.
> 
> No?

Actually, I just tested your theory, and it evals alright--except I have
savehist on, so it pulled the last one from the history file, which in my
case was "." (which I have aliased:  alias . 'exit')

So yeah, it -can-.  Inadvisable.

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