opensuse
[Arriba] [Todas las Listas]

Re: [opensuse] Java Asistencia de guión (ligeramente OT)

To: opensuse@xxxxxxxxxxxx
Subject: Re: [opensuse] Java Asistencia de guión (ligeramente OT)
From: Per Jessen <per@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2011 12:01:34 +0200
Delivered-to: opensuse@xxxxxxxxxxxxxxxxxxx
Delivered-to: newsmoderator@xxxxxxxxx
Delivery-date: Thu, 22 Sep 2011 06:02:57 -0400
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://lists.opensuse.org/opensuse/>
List-help: <mailto:opensuse+help@opensuse.org>
List-owner: <mailto:opensuse+owner@opensuse.org>
List-post: <mailto:opensuse@opensuse.org>
List-subscribe: <mailto:opensuse+subscribe@opensuse.org>
List-unsubscribe: <mailto:opensuse+unsubscribe@opensuse.org>
Mailing-list: contact opensuse+help@xxxxxxxxxxxx; run by mlmmj
Organization: Per Jessens personal news-server
References: <201109182047.49943.p.nikolic1@btinternet.com> <j56tpt$p9h$1@saturn.local.net> <201109191435.18504.p.nikolic1@btinternet.com> <j57i0j$qqp$1@saturn.local.net> <20110920032119.GA23424@grusum.endjinn.de> <j59cgl$vd2$1@saturn.local.net> <20110921203605.GC16846@grusum.endjinn.de> <j5eo6r$c4p$1@saturn.local.net> <20110922094724.GA24664@grusum.endjinn.de>
User-agent: KNode/0.10.4
David *Haller escribió:

> Hola,
> 
> En *Thu, 22 *Sep 2011, Por *Jessen escribió:
>>David *Haller escribió:
>>> Dentro '' sólo necesitas huir ' él, el cual no trabaja, cuando \
>>> tiene no especial significando cualquier interior de ''.
>>> *Workaround: '*foo'"'"'Barra' o '*foo'\''barra'
>>> 
>>> Dentro "" tienes que *IIRC escapada !"()`` Y $ (el ! Sólo si has
>>> habilitado historia *substitution (conjunto -*H).
>>
>>Con *sed, siempre necesito huir +() dentro de '' para conseguirles para trabajar. 
>>Soy yo haciendo algo mal?
> 
> Depende en qué significándote quiere el +() para tener. Leído 'hombre 7 *regex'.
> Cuando declarado, *sed utiliza básico *regex, *i.*e. +() Tiene no significado especial

*Ah, que lo explica.  *Thanks.



-- 
Por *Jessen, *Zürich (15.7°*C)

--
A *unsubscribe, *e-correo: *opensuse+unsubscribe@xxxxxxxxxxxx
Puesto que órdenes adicionales, *e-correo: *opensuse+help@xxxxxxxxxxxx


David Haller wrote:

> Hello,
> 
> On Thu, 22 Sep 2011, Per Jessen wrote:
>>David Haller wrote:
>>> Inside '' you only need to escape ' itself, which doesn't work, as \
>>> has no special meaning either inside of ''.
>>> Workaround: 'foo'"'"'bar' or 'foo'\''bar'
>>> 
>>> Inside "" you have to IIRC escape !"()`` and $ (the ! only if you've
>>> enabled history substitution (set -H).
>>
>>With sed, I always need to escape +() inside '' to get them to work. 
>>Am I doing something wrong?
> 
> Depends on what meaning you want the +() to have. Read 'man 7 regex'.
> As stated, sed uses basic regex, i.e. +() have no special meaning

Ah, that explains it.  Thanks.



-- 
Per Jessen, Zürich (15.7°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx


<Anterior por Tema] Tema Actual [Siguiente por Tema>