[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help
From: |
Noble Galante |
Subject: |
Re: help |
Date: |
Mon, 19 Jun 2017 00:43:23 +0200 |
Thanks for your prompt response.
And sorry for my slow gratitude.
But I found the solution updating the 'sed' command.
Well I used one from the year 2002 that was a simple executable.
And now I have one of the year 2012 and with dll libraries.
Thanks anyway and I owe you one ....
... beer for example :-)
------------------------------------
Gracias por tu pronta respuesta.
Y perdón por mi lenta gratitud.
Pero encontré la solución actualizando el comando 'sed'.
Pues usaba uno del año 2002 que era un simple ejecutable.
y ahora tengo uno del año 2012 y con librerías dll.
Gracias de todos modos y te debo una....
...cerveza por ejemplo :-)
2017-06-15 2:24 GMT+02:00 Bob Proulx <address@hidden>:
> Hola!
>
> > I used the expression sed -e "s/\<./\u&/g" to put the first letter
> > of each word in uppercase.
> > But in the version for ms-dos, I can not get it to work.
> > Can you help me ??
>
> The problem is that \u and \U are PCRE Perl Compatible Regular
> Expression library features that do not exist in POSIX BRE or ERE
> libraries. It depends upon your system's C library regular expression
> library and how sed was compiled to use them. This is most likely the
> reason it is not working for you on MS-DOS. Likely the MS-DOS version
> you are using is using has the POSIX BRE (Basic Regular Expressions)
> library which does not support that feature.
>
> For the archive discussion, here is an example which works using the
> PCRE but not for BRE or ERE.
>
> $ printf "one two\nthree four\n" | sed "s/\<./\u&/g"
> One Two
> Three Four
>
> Documentation for the PCRE is in perlre(1).
>
> http://perldoc.perl.org/perlre.html
>
> Please in the future use a better subject line than just "help".
> Perhaps "help with sed regular expression" in this case. Or anything
> better than just help. :-)
>
> Bob
>
> Noble Galante wrote:
> > Hola,
> > Yo usaba la expresión sed -e "s/\<./\u&/g" , para poner la primera letra
> > de cada palabra en mayuscula.
> > Pero en la versión para ms-dos, yo no consigo que funcione.
> > Podeis ayudarme??
> > ---------------------------
> > Hello,
> > I used the expression sed -e "s / \ <./ \ u & / g" to put the first
> letter
> > of each word in uppercase.
> > But in the version for ms-dos, I can not get it to work.
> > Can you help me ??
> >
> > Thanks
>
--
Noble Galante
- help, Noble Galante, 2017/06/14
- Re: help, Bob Proulx, 2017/06/14
- Re: help,
Noble Galante <=