> From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 27, 2003 2:22 AM
> On Sat, 26 Jul 2003, Hannu E K Nevalainen (garbage mail) wrote: > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > > > Of Igor Pechtchanski > > > > --8<-- > > > What you could do is create an "etags.bat" that runs 'bash -c > etags "%1" > > > "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"', put it in your PATH, and you > > > should be able to call that from NTEmacs. > > > Igor > > > > Hmm... I can't remember if there is a equiv. of $@ in DOS/BAT-files... > > > > $ man bash > > /\$\@ > AFAIK, there isn't, at least on Win9x. WinNT/2k command extensions might > have something, though. Another reason not to use it is that you'd > probably want to cygwinize the paths anyway, by calling cygpath on each > parameter... > > BTW, the one advantage of using a batch file is that invoking "etags" from > a DOS/Windows program will automatically call that file (just like with a > .exe), but a link will not get invoked (and neither will the shell > script). > Igor The one limitation is the one of max _nine_ arguments/option flags. There are times when that can be a severe limitation. Dunno if it fits this time though. > P.S. I know very well what $@ is, thank you very much. ;-) =-) there might be others here that don't - feel free to "take it or leave it" ;-P /Hannu E K Nevalainen, B.Sc EE/Microcomputer systems, 59?14'N, 17?12'E. --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/