Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] The tree is now utf-8 clean
Date: Mon, 19 Sep 2005 10:47:35
Message-Id: 20050919104343.GA12068@ols-dell.iic.hokudai.ac.jp
In Reply to: Re: [gentoo-dev] The tree is now utf-8 clean by Paul de Vrieze
1 maillog: 19/09/2005-11:52:26(+0200): Paul de Vrieze types
2 > On Saturday 17 September 2005 22:06, Mike Frysinger wrote:
3 > > On Saturday 17 September 2005 01:15 pm, Ciaran McCreesh wrote:
4 > > > On Sat, 17 Sep 2005 12:56:37 +0200 "Fernando J. Pereda"
5 > > >
6 > > > <ferdy@g.o> wrote:
7 > > > | On Sat, Sep 17, 2005 at 02:42:09AM +0100, Ciaran McCreesh wrote:
8 > > > | | Something strange I noticed... Some people are using funny quotes
9 > > > | | and non breaking spaces in ebuilds. Some people are using weird
10 > > > | | characters as substitution delimiters for sed. Don't! It will
11 > > > | | break on many systems. I'm going to go and purge all of those,
12 > > > | | UTF-8 or not, whenever my brain recovers.
13 > > > |
14 > > > | I hope ~ is not considered a weird character... if it is, tell me
15 > > > | and I'll fix all my ebuilds.
16 > > >
17 > > > No, ~ is fine. Anything with a value below 127 (don't use 127, it's
18 > > > weird) that sed accepts is ok.
19 > >
20 > > in other words, ASCII characters are OK. if in doubt, just run `man
21 > > ascii` and see if your character is in the table
22 >
23 > You probably don't want to use the ascii control characters either
24 > (anything below 32), although they should not give issues with people
25 > they could cause havoc for terminals or annoy people (using the BELL
26 > character as sed separator).
27
28 Um, I guess everybody got the point. In fact, you probably shouldn't use
29 alphanumerics either -- they work, but are as ugly as...
30 echo herr | sed -e sorolog
31
32 --
33 (* Georgi Georgiev (* They can always run stderr through uniq. :-) (*
34 *) chutz@×××.net *) -- Larry Wall in *)
35 (* +81(90)2877-8845 (* <199704012331.PAA16535@××××.org> (*