On Aug 21, 2012, at 11:51 AM, Patrick Woolsey <[email protected]> wrote:

> At 11:40 -0600 08/21/2012, Clark Goble wrote:
>> I notice that to use grep you must use old style Apple line endings (\r)
>> rather than unix style (\n) even though all the files one opens are unix
>> nowdays. This can be a bit of a hassle for new users but also means when I
>> bring over grep patterns I have to quickly do a search and replace on the
>> line endings.
>> 
>> Is there anyway to set this so it'll use unix style rather than old Sys9
>> style?
> 
> 
> Sorry but this behavior isn't configurable--it has way too many low-level
> implications.
> 
> I do however expect we'll adjust BBEdit's line ending convention in some
> (non-immediate) future version.
> 

I can understand this. (Also I'm asking for someone else. I almost never search 
on '\n' myself) 

It would seem if you do want to make this a feature in the future simply have a 
filter function you run the grep text through before passing it to your grep 
functions. In that filter function simply replace '\n' with '\r'. Then expose a 
checkmark in the Preferences that turns this filter's use on or off. I bet a 
lot of people would appreciate it. 

-- 
-- 
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 [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 feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to