opensuse
[Arriba] [Todas las Listas]

Re: [opensuse] Tipo diferente de pelar guiones

To: opensuse@xxxxxxxxxxxx
Subject: Re: [opensuse] Tipo diferente de pelar guiones
From: Roger Oberholtzer <roger@xxxxxx>
Date: Thu, 22 Sep 2011 14:52:51 +0200
Delivered-to: opensuse@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Sep 2011 08:53:15 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <4E7B23CA.6050704@dodin.org>
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
References: <4E7AED97.1000309@gmail.com> <1316679971.21158.35.camel@acme.pacific> <4E7AF480.2080607@dodin.org> <1316690407.21158.45.camel@acme.pacific> <4E7B23CA.6050704@dodin.org>
En *Thu, 2011-09-22 en 14:02 +0200, *jdd escribió:
> *Le 22/09/2011 13:20, Roger *Oberholtzer un *écrit :
> > En *Thu, 2011-09-22 en 10:40 +0200, *jdd escribió:
> 
> 	*chmod +*x *filename.*sh
> >>> 	./*filename.*sh
> >>
> >> Por la manera, para un pelar guión, sencillamente uso "*sh ./*filename"
> >
> > Naturalmente que trabajos. *OTOH, si los inicios de guión con, dice,
> >
> > 	#!Pitón
> 
> si un *filename.*sh Pitón de carreras del guión, es bastante mal nombrado :-)

pensaba en plazos más generales. *Nonetheless, uno tendría que ser prudente
de los guiones estirados del 'red. El nombre y los contenidos no pueden emparejar.


El vuestro sinceramente,

Roger *Oberholtzer

*OPQ Sistemas / *Ramböll Oficina

de RST: *Int +46 10-615 60 20
Móvil: *Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________

*Ramböll *Sverige AB
*Krukmakargatan 21
*P.*O. Caja 17009
SE-104 62 Estocolmo, Suecia
www.rambollrst.se


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


On Thu, 2011-09-22 at 14:02 +0200, jdd wrote:
> Le 22/09/2011 13:20, Roger Oberholtzer a écrit :
> > On Thu, 2011-09-22 at 10:40 +0200, jdd wrote:
> 
> 	chmod +x filename.sh
> >>> 	./filename.sh
> >>
> >> by the way, for a shell script, simply use "sh ./filename"
> >
> > Of course that works. OTOH, if the script starts with, say,
> >
> > 	#!python
> 
> if a filename.sh script runs python, it's pretty badly named :-)

I was thinking in more general terms. Nonetheless, one should be careful
of scripts pulled off the 'net. The name and the contents may not match.


Yours sincerely,

Roger Oberholtzer

OPQ Systems / Ramböll RST

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se


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


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