Dxmaint
GCC Consulting
gcc at optonline.net
Wed Aug 25 07:00:12 PDT 2004
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com] On Behalf
> Of Fairlight
> Sent: Wednesday, August 25, 2004 7:49 AM
> To: Filepro 2 List
> Subject: Re: Dxmaint
>
> 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->
> --
I should be more careful with my postings. I work only in a Windows environment
and don't necessarily run into the same scripting problems that *nix users have.
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list