Thanks a lot, Seth, Matthew and Jan.

Yes, I found out that '&' means the whole search string and I was
getting mad with this...

Thanks thanks thanks a lot.

Cheers,

Arturo

On 18/01/07, Jan Pieter Kunst <[EMAIL PROTECTED]> wrote:
> Obviously the problem is the character '&'
>
> Is there a way to 'write' this character in a grep serch result
> instead of it writing the whole results string?

Yes: use \& in your replace string (& escaped with \).
As you noticed, in grep '&' means 'the whole search string'.

JP

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to