Hi, Does anybody know whether it is somehow possible to include the current file name in a grep "replace" pattern when doing a multi-file search/replace. I have a case now where I need to replace one line in each of my files by a string containing the name of the file in which the line occurs. I am sure this can be done in unix using a sed script but I am not too familiar with the syntax, therefore I wondered whether BBEdit could do the job. ThanksÂ…
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Feb 14
Bucky Junior Re: Use file name in replace pattern
Feb 14, 2010; 00:47
Bucky Junior
Re: Use file name in replace pattern
Feb 14
Marek Stepanek Re: Use file name in replace pattern
Feb 14, 2010; 09:22
Marek Stepanek
Re: Use file name in replace pattern
Feb 14
Marek Stepanek Re: Use file name in replace pattern
Feb 14, 2010; 10:07
Marek Stepanek
Re: Use file name in replace pattern
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!