On Friday 08 February 2008, Dominique Quatravaux wrote: > Andy Lester wrote: > > First, install ack, either installing App::Ack or downloading the > > standalone version from http://petdance.com/ack/ > > Interesting. Would you be so kind as to implement "grep -n"-style output > format for us Emacs users? >
ack outputs line numbers by default. If you're interested in Emacs integration, see: http://perladvent.pm.org/2006/5/ (Search for "Emacs".) Note that this is a cut-and-paste-and-modify of an existing XEmacs Elisp code. I couldn't figure out a better way to do it. Regards, Shlomi Fish --------------------------------------------------------------------- Shlomi Fish [EMAIL PROTECTED] Homepage: http://www.shlomifish.org/ I'm not an actor - I just play one on T.V.