On Thu, Jun 15, 2017 at 8:14 AM, <er38h...@yahoo.co.jp> 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

Reply via email to