Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-12 Thread Christopher Stone
On 01/12/2019, at 19:32, Dj mailto:futurevint...@gmail.com>> wrote: > I'm only trying to change space between words and not carriage returns and > all that. So far I've tried placing this in the scripts folder: > > perl -pe 's/ +/ /g' Hey Dj, All shell scripts have to have a legitimate

Entable - BBEdit, TextWrangler, Nedit Filter

2019-01-12 Thread Christopher Stone
Hey Folks, I found a useful plug-in for BBEdit called `entable`. It's a plain old Perl script, so it can be used as a text-filter in BBEdit or from the command line. http://entable.s3.amazonaws.com/index.html I've changed the shebang/use block in

One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-12 Thread Dj
Hello! I'm trying to replace spaces between words so a sentence like this: "this line has really messed upspacing" Looks like this: "This line has really messed up spacing" I'm only trying to change *space between words and not carriage returns and all that.* So