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

Re: Nifty hack




> Right now I am still fumbling a little bit with es's syntax (it is a bit 
> awkward).  So, my question is, is there a way to pull 'N', off of the '-N' 
> without execing a sub-process?  I was thinking it could be done by setting the 
> ifs to '-', but I can't quite seem to get it to do what I want.

Sorry to reply to my own mail message, but I figure it out:

   dir = -3
   index = <={%split - $dir}

This comes pretty close to what I want to do.

Thanks,
-scott
--
   _/    _/   _/_/_/  _/_/_/_/   _/_/_/  Scott C. Gray (gray@nas.nasa.gov)
  _/_/  _/  _/    _/ _/_/      _/    _/  NASA Ames Research M/S 258-6
 _/  _/_/  _/_/_/_/     _/_/  _/_/_/_/   For PGP public key, send me mail
_/    _/  _/    _/ _/_/_/_/  _/    _/    with subject line of "PGP request".