Re: [fossil-users] test-comment-format utf8

2017-06-15 Thread Stephan Beal
On Thu, Jun 15, 2017 at 8:14 AM,  wrote:

> $ ./fossil test-comment-format --legacy "legacy " $(printf "%.0s"
> {1..100})
>

Sidebar: i had no idea bash can do ranges like that!

[stephan@host:~]$ echo {1..10}
1 2 3 4 5 6 7 8 9 10

It also works with ascii letters:

[stephan@host:~]$ echo {a..z}
a b c d e f g h i j k l m n o p q r s t u v w x y z

and in reverse:

[stephan@host:~]$ echo {Z..A}
Z Y X W V U T S R Q P O N M L K J I H G F E D C B A

:-D

That would have saved me lots of typing in the past :/.

(fwiw, i do know about the ab{c,d,e} construct)

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] bug : comment_print_legacy function destroys utf8 characters when wrapping text.

2017-06-15 Thread Stephan Beal
On Thu, Jun 15, 2017 at 3:15 AM,  wrote:

> Bug
>
>   comment_print_legacy function destroys utf8 characters when wrapping
> text.
>
> https://www.fossil-scm.org/index.html/artifact?ln=302-
> 307=f570981a7bb58eb3
> src/comformat.c : Line 302-307
>

For those whose mailers consider src/comformat.c to be part of that URL and
mis-link it (gmail):

https://www.fossil-scm.org/index.html/artifact?ln=302-307=f570981a7bb58eb3


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] test-comment-format utf8

2017-06-15 Thread er38hcma
$ ./fossil test-comment-format --legacy "legacy " $(printf "%.0s" {1..100})
legacy ▒
   ▒▒▒▒
   ▒▒▒
   ▒
   ▒
   ▒▒▒
(6 lines output)

$ ./fossil test-comment-format "   " $(printf "%.0s" {1..100})
   ▒
   ▒▒▒▒
   ▒▒
   ▒
   ▒▒▒
(5 lines output)
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users