Dxmaint

Jean-Pierre A. Radley appl at jpr.com
Wed Aug 25 12:57:10 PDT 2004


Mark Luljak propounded (on Wed, Aug 25, 2004 at 07:49:11AM -0400):
| 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
| > 
| > 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.  :)

Not here it wouldn't. I hate the ! and ^ operators in csh|tcsh, because I
have to use the Shift Key to use them.  That's why my .cshrc contains:

	set histchars=',='

-- 
JP


More information about the Filepro-list mailing list