[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Uma forma mais simples
From: |
Rodrigo Bernardo Pimentel |
Subject: |
Re: [shell-script] Uma forma mais simples |
Date: |
Fri, 1 Sep 2000 19:53:31 -0300 |
User-agent: |
Mutt/1.2i |
On Fri, Sep 01 2000 at 06:41:56pm -0300, # aurelio marinho jargas wrote:
> @ 1/9, Rodrigo Bernardo Pimentel:
> > title="XTeste"
> > title=`echo $title | sed 's/^X\(.\+\)/\1/'`
>
> sed 's/^X//'
>
> faz o mesmo serviço
Claro... Eu estava pensando em outro tipo de implementação, acabei
mudando de idéia no meio e fiz isso :)
rbp
______________________________________________________________________________
Rodrigo Bernardo Pimentel <address@hidden>| GPG KeyID: 0x81F85A48
LinuxSP <http://www.linuxsp.org.br>| Fingerprint:
AirGeeks <http://www.airgeeks.org>|7E62 9CA2 C95B FC86 B334
____________<http://www.conectiva.com.br>___________|203E C011 2E4D 81F8 5A48
Goosnargh...
From (no email address) Fri Sep 01 15:55:19 2000
Return-Path: <address@hidden>
Received: (qmail 19917 invoked from network); 1 Sep 2000 22:55:18 -0000
Received: from unknown (10.1.10.27) by m3.onelist.org with QMQP; 1 Sep 2000
22:55:18 -0000
Received: from unknown (HELO burns.conectiva) (200.250.58.146) by mta2 with
SMTP; 1 Sep 2000 22:55:15 -0000
Received: (qmail 26847 invoked from network); 1 Sep 2000 22:58:19 -0000
Received: from verde.distro.conectiva (10.0.17.77) by burns.conectiva with
SMTP; 1 Sep 2000 22:58:19 -0000
Date: Fri, 1 Sep 2000 19:58:00 -0300 (BRT)
X-Sender: aurelio@verde.distro.conectiva
To: address@hidden
Subject: Re: [shell-script] Uma forma mais simples
In-Reply-To: <address@hidden>
Message-ID: <Pine.LNX.4.21.0009011956590.1027-100000@verde.distro.conectiva>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
From: # aurelio marinho jargas <address@hidden>
@ 1/9, Rodrigo Bernardo Pimentel:
>
> On Fri, Sep 01 2000 at 06:41:56pm -0300, # aurelio marinho jargas wrote:
>
> > @ 1/9, Rodrigo Bernardo Pimentel:
>
> > > title="XTeste"
> > > title=`echo $title | sed 's/^X\(.\+\)/\1/'`
> >
> > sed 's/^X//'
> >
> > faz o mesmo serviço
>
> Claro... Eu estava pensando em outro tipo de implementação, acabei
> mudando de idéia no meio e fiz isso :)
ou melhor ainda, com builtin do bash:
title=${title#X}
&:)
--
s·:(·>(·×^a]×http://www.verde666.org×^[:wq