Re: Grep and Line Endings

2012-08-22 Thread Clark Goble
On Aug 21, 2012, at 11:51 AM, Patrick Woolsey pwool...@barebones.com 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

Re: Grep and Line Endings

2012-08-22 Thread Doug McNutt
At 13:50 -0600 8/21/12, Clark Goble wrote: About the use of 0x0D while editing ALL fioes. 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

Grep and Line Endings

2012-08-21 Thread Clark Goble
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

Re: Grep and Line Endings

2012-08-21 Thread Patrick Woolsey
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