1 |
On Saturday 17 September 2005 22:06, Mike Frysinger wrote: |
2 |
> On Saturday 17 September 2005 01:15 pm, Ciaran McCreesh wrote: |
3 |
> > On Sat, 17 Sep 2005 12:56:37 +0200 "Fernando J. Pereda" |
4 |
> > |
5 |
> > <ferdy@g.o> wrote: |
6 |
> > | On Sat, Sep 17, 2005 at 02:42:09AM +0100, Ciaran McCreesh wrote: |
7 |
> > | | Something strange I noticed... Some people are using funny quotes |
8 |
> > | | and non breaking spaces in ebuilds. Some people are using weird |
9 |
> > | | characters as substitution delimiters for sed. Don't! It will |
10 |
> > | | break on many systems. I'm going to go and purge all of those, |
11 |
> > | | UTF-8 or not, whenever my brain recovers. |
12 |
> > | |
13 |
> > | I hope ~ is not considered a weird character... if it is, tell me |
14 |
> > | and I'll fix all my ebuilds. |
15 |
> > |
16 |
> > No, ~ is fine. Anything with a value below 127 (don't use 127, it's |
17 |
> > weird) that sed accepts is ok. |
18 |
> |
19 |
> in other words, ASCII characters are OK. if in doubt, just run `man |
20 |
> ascii` and see if your character is in the table |
21 |
|
22 |
You probably don't want to use the ascii control characters either |
23 |
(anything below 32), although they should not give issues with people |
24 |
they could cause havoc for terminals or annoy people (using the BELL |
25 |
character as sed separator). |
26 |
|
27 |
Paul |
28 |
|
29 |
-- |
30 |
Paul de Vrieze |
31 |
Gentoo Developer |
32 |
Mail: pauldv@g.o |
33 |
Homepage: http://www.devrieze.net |