I'm trying to find the character or string to use in a batch grep find/
replace pattern that will insert the file's name into the result.
Here's my grep replace pattern:

  <a class="viewLink" id="\1" href="_" onClick="viewSection('\2');">
\3<strong>+</strong></a>

In the search pattern, there's a # sign in the link (href="#"), and I
want to replace the # sign with the filename. I've found Perl's
charater: $file, but it doesn't work in grep.

So, is there a character that will allow me to do this, or am I out of
luck?

TIA,

Bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to