Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-07 Thread Lagim
Is there anyone who uses a text filter, which could add horizontal (and 
vertical) lines in data tables?

With a result like that:

---
zot foo bär pak
---
lorem sit   ipsum   doloret
---


or that:
+---+---+-+
| zot foo | bär | pak |
+---+---+-+
| lorem sit | ipsum | doloret |
+---+---+-+




-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-06 Thread Lagim
@Chris

Thanks a lot :)
Your hint solved the problem.
I created a file "~/.profile" with the two line and the columns are created 
correctly.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-05 Thread John Muccigrosso
On Wednesday, April 5, 2017 at 5:49:06 AM UTC-4, Christopher Stone wrote:
>
> On 04/05/2017, at 01:08, Lagim  wrote:
>
> #!/bin/sh
> locale
>
> is:
>
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="C"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
>
> It seems, there's something wrong with the configuration of BBEdit. But 
> how can I correct that?
>
> --
>
> Aha!  I've seen *that* before...
>
> When I first transitioned to Sierra I had this same strange issue going on.
>
> I reported it to Bare Bones, and we were NOT able to find a solution 
> within BBEdit.
>
> The problem only occurred when I had more than one language available in 
> my keyboard input sources (IIRC).
>
> Patrick at Bare Bones was unable to reproduce my issue at the time 
> (mid-January).
>
> What I did on my system that finally corrected the issue was to place the 
> following lines in my ~/.profile file.
>
> export LANG="en_US.UTF-8"
> export LC_ALL="en_US.UTF-8"
>

I've got it too! I haven't noticed any problems due to it, but I did make 
the changes to my bash profile file. I too have multiple keyboards enabled. 

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-05 Thread Christopher Stone
On 04/05/2017, at 01:08, Lagim > wrote:
> #!/bin/sh
> locale
> 
> is:
> 
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="C"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
> 
> It seems, there's something wrong with the configuration of BBEdit. But how 
> can I correct that?


Aha!  I've seen that before...

When I first transitioned to Sierra I had this same strange issue going on.

I reported it to Bare Bones, and we were NOT able to find a solution within 
BBEdit.

The problem only occurred when I had more than one language available in my 
keyboard input sources (IIRC).

Patrick at Bare Bones was unable to reproduce my issue at the time 
(mid-January).

What I did on my system that finally corrected the issue was to place the 
following lines in my ~/.profile file.

export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

If I comment-out those lines and restart BBEdit I can reproduce your issue.

For you this would be:

export LANG="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"

If you haven't done any shell customization you may have to create the 
~/.profile file.

Keep in mind that it will become invisible as soon as you name it.

Although Sierra makes this easy to manage.  In the Finder type Cmd-Shift-. to 
display invisible items.

Please write this up as a bug-report and send it to:

Bare Bones Software >

(Posts to the user-list don't count.)

As far as I know you and I are the only people who have reported this problem 
so far.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-05 Thread Lagim
@Sam
The output of

#!/bin/sh
locale

is:

LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

It seems, there's something wrong with the configuration of BBEdit. But how 
can I correct that?

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Sam Hathaway
I meant to replace the `sed` line with the `locale` line, for testing 
only. (This will result in a filter that simply replaces anything with 
the output of locale, so you can see what the locale settings are from 
within BBEdit.) Sorry if that's not clear.

-sam

On 4 Apr 2017, at 3:15 PM EDT, Lagim wrote:


I'm not sure, what you mean, Sam.

Should I use the following code?

#!/bin/sh
locale
sed -E 's!  +!¶!g' | column -t -s'¶'





--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
---
You received this message because you are subscribed to the Google 
Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to bbedit+unsubscr...@googlegroups.com.

To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Lagim
I'm not sure, what you mean, Sam.

Should I use the following code?

#!/bin/sh
locale
sed -E 's!  +!¶!g' | column -t -s'¶'





-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Sam Hathaway

On 4 Apr 2017, at 3:05 PM EDT, Lagim wrote:


@sam

With that command for the terminal, I get a correct result.

Something seems to be special with "my" BBEdit.


Yeah! Only other thing I can think of is to try this…

```
#!/bin/sh
locale
```

…as a filter to see if for some reason BBEdit has different locale 
settings for some mysterious reason.

-sam

--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Lagim
@sam

With that command for the terminal, I get a correct result.

Something seems to be special with "my" BBEdit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Sam Hathaway
On 4 Apr 2017, at 2:34 PM EDT, Lagim wrote:

> My macOS is 10.12.3.

Me too. How strange!

What happens if you take BBEdit out of the mix? That is:

```
cat test.txt | sed -E 's![ ]{2,}!¶!g' | column -t -s'¶'
```

Same results?
-sam

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Lagim
@Sam

My macOS is 10.12.3.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Sam Hathaway

What version of macOS are you running?
-sam

On 4 Apr 2017, at 11:28 AM EDT, Lagim wrote:


Am Dienstag, 4. April 2017 17:11:13 UTC+2 schrieb Christopher Stone:


Give this a try:

#!/usr/bin/env bash

sed -E 's![ ]{2,}!¶!g' | column -t -s'¶'



The result is exactly the same as in my first post:

zot foo bär  pak
lorem sit   ipsum   doloret





--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
---
You received this message because you are subscribed to the Google 
Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to bbedit+unsubscr...@googlegroups.com.

To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Lagim
Am Dienstag, 4. April 2017 17:11:13 UTC+2 schrieb Christopher Stone:
>
> Give this a try:
>
> #!/usr/bin/env bash
>
> sed -E 's![ ]{2,}!¶!g' | column -t -s'¶'
>

The result is exactly the same as in my first post:

zot foo bär  pak
lorem sit   ipsum   doloret



 

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/04/2017, at 09:46, Lagim > wrote:
> Would you be so kind to post the text filter code, which you would recommend.
> 
> Please remind, that there are single values which contain single spaces. 
> Example: "zot foo". These are not two values, but only one.


Give this a try:

#!/usr/bin/env bash

sed -E 's![ ]{2,}!¶!g' | column -t -s'¶'

When I use spaces in regular expressions I often like to use brackets to make 
them easier to see.

[ ]   ==  A single character range (space)
{2,}  ==  2 or more

You could of course do this:

sed -E 's!  +!¶!g' | column -t -s'¶'

But it doesn't read quite as explicitly.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Lagim


Am Montag, 3. April 2017 17:47:54 UTC+2 schrieb Sam H.:
>
> What version of macOS are you using? I'm on 10.12. I'm wondering if Apple 
> (or FreeBSD) fixed column's handling of multibyte characters at some 
> point.
>
> Another thing to check is your locale. When I run locale to check, I get…
>
> LANG="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_CTYPE="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_ALL=
>
> …indicating a UTF-8 locale. The manpage for column says that it looks at 
> LANG, LC_ALL and LC_CTYPE. I don't know what the Right Way to set up your 
> locale in macOS is, so if this is you're problem, you're on your own. :)
>
>
Thanks to you an Chris for your hints.

The result of "locale" is:

LANG="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_ALL=

My macOS is 10.12.3.

Would you be so kind to post the text filter code, which you would 
recommend.

Please remind, that there are single values which contain single spaces. 
Example: "zot foo". These are not two values, but only one.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/04/2017, at 09:29, Sam Hathaway > wrote:
> 
> Yup; but you'll need extended regular expressions for that…
> 
>   sed -E 's/ +/¶/g'


Hey Sam,

Eh?  I didn't turn them on?

Pfft...  You're quite right.

> …and I wanted to keep it simple.

Simple isn't always better.  :)

--
Take Care,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Sam Hathaway
On 4 Apr 2017, at 9:41 AM EDT, Christopher Stone wrote:

> It's more clear to write this:
>
> sed 's/  */¶/g'
>
> Like this:
>
> sed 's/ +/¶/g'

Yup; but you'll need extended regular expressions for that…

sed -E 's/ +/¶/g'

…and I wanted to keep it simple.

Cheers!
-sam

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/03/2017, at 10:47, Sam Hathaway > wrote:
> …I get your expected result. Specifically, my changes were:
> two spaces before the * in the regexp (i.e. "match one or more spaces")
> no space before the ¶ in the replacement string


Hey Sam,

Good catch.

Sed was choking on “ *” zero or more spaces and giving me an illegal 
byte-sequence error.

It's more clear to write this:

sed 's/  */¶/g'

Like this:

sed 's/ +/¶/g'

I'm wondering if Apple (or FreeBSD) fixed column's handling of multibyte 
characters at some point.

You might be right about that.  I've been using columns for years, and I've had 
some alignment issues with utf8 characters in the past – I think as recent as 
El Capitan.

So column does seem to be working better on Sierra. (macOS 10.12.3)
> #!/bin/sh
> gunexpand | column -t
This works the same for me in BBEdit with or without gunexpand.

Even with the -a switch gunexpand seems to behave unevenly.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-03 Thread Sam Hathaway

On 30 Mar 2017, at 5:25 AM EDT, Lagim wrote:

As soon as an umlaut exists in the text, the number of inserted blanks 
are

not correct. It seems the reg ex machine of BBEdit treats umlauts in a
special way.


The output that you're getting suggests that `column` is assuming that 
all characters are one byte wide, which is not true of most UTF-8 
characters.


However, I'm getting significantly different results than you. If I run 
your filter, I get no output. If I modify it like so…


```
#!/bin/sh
sed 's/  */¶/g' | column -s '¶' -t
```

…I get your expected result. Specifically, my changes were:

1. two spaces before the `*` in the regexp (i.e. "match one or more 
spaces")

2. no space before the `¶` in the replacement string

What version of macOS are you using? I'm on 10.12. I'm wondering if 
Apple (or FreeBSD) fixed `column`'s handling of multibyte characters at 
some point.


Another thing to check is your locale. When I run `locale` to check, I 
get…


```
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
```

…indicating a UTF-8 locale. The manpage for `column` says that it 
looks at `LANG`, `LC_ALL` and `LC_CTYPE`. I don't know what the Right 
Way to set up your locale in macOS is, so if this is you're problem, 
you're on your own. :)


Another twist: If you have GNU Coreutils installed (`brew install 
coreutils` if you have Homebrew installed), you can use the `unexpand` 
utility instead of `sed`:


```
#!/bin/sh
gunexpand | column -t
```

Hope this helps!
-sam

--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-03 Thread Lagim
Hi Chris.

I tried your code.

The result is:

zo  foo  ä   p k
o   ms  psum  do  o



-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-03-30 Thread Christopher Stone
On 03/30/2017, at 04:25, Lagim > wrote:
> As soon as an umlaut exists in the text, the number of inserted blanks are 
> not correct. It seems the reg ex machine of BBEdit treats umlauts in a 
> special way.


Hey There,

Try this:

#!/usr/bin/env bash

sed -E 's/ +/literal-tab/g' | column -t -s 'literal-tab'

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.