🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #575

Re: Script para Reemplazar pero con peculiaridades

#575
From: fauria
Date: Tue, 20 Mar 2007 20:43
4 lines
1376 bytes
Con bash y sed se me ocurre:

echo '<img src="pepito.jpg" ALT="foto de pepito">' | sed -e 's/
ALT=".*"/& TITLE=&/g' -e 's/TITLE=ALT/TITLE/g'
Technical Details
Message-ID: <1174423403.407571.302170@y66g2000hsf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!y66g2000hsf.googlegroups.com!not-for-mail
References: <1173175969.375077.8140@p10g2000cwp.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,bb6ab5d2b43b8c9b
X-Google-Attributes: gidf86c8,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!y66g2000hsf.googlegroups.com!not-for-mail
From: fauria@gmail.com
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Script para Reemplazar pero con peculiaridades
Date: 20 Mar 2007 13:43:23 -0700
Organization: http://groups.google.com
Lines: 5
Message-ID: <1174423403.407571.302170@y66g2000hsf.googlegroups.com>
References: <1173175969.375077.8140@p10g2000cwp.googlegroups.com>
NNTP-Posting-Host: 81.35.234.23
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1174423405 25678 127.0.0.1 (20 Mar 2007 20:43:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 Mar 2007 20:43:25 +0000 (UTC)
In-Reply-To: <1173175969.375077.8140@p10g2000cwp.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: y66g2000hsf.googlegroups.com; posting-host=81.35.234.23;
   posting-account=dT9_ew0AAAAUmcDhMTktUuz1pjDXec5r