🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uch.ing.dcc
Article #113

Re: Ayuda con Archivos

#113
From: Alvaro Navarro
Date: Thu, 11 Mar 1999 00:00
15 lines
973 bytes
Luis H. Cifuentes Lobos <lucifuen@anakena.dcc.uchile.cl> wrote:

: Como puedo cambiar rapidamente de 500 archivos
: un padron por otro.

#!/bin/sh

for a in `ls -1`
do
  sed 's/patron1/patron2/g' $a > aux
  mv aux $a
done


-alv-
Technical Details
Message-ID: <7c8hcs$1qg$1@neptuno.chilepac.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7c8d0d$30b$1@sunsite.dcc.uchile.cl>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 1054ea,4910a35d69a29161
X-Google-Attributes: gid1054ea,public
X-Google-Thread: faaa5,4910a35d69a29161
X-Google-Attributes: gidfaaa5,public
From: Alvaro Navarro <alv@chilesat.nospam.net>
Subject: Re: Ayuda con  Archivos
Date: 1999/03/11
Message-ID: <7c8hcs$1qg$1@neptuno.chilepac.com>
X-Deja-AN: 453804399
References: <7c8d0d$30b$1@sunsite.dcc.uchile.cl>
X-Complaints-To: news@alv.cl
X-Trace: neptuno.chilepac.com 921159900 1872 200.9.151.130 (11 Mar 1999 13:45:00 GMT)
Organization: Chilesat
User-Agent: tin/pre-1.4-981114 ("The Watchman") (UNIX) (Linux/2.0.36 (i586))
NNTP-Posting-Date: 11 Mar 1999 13:45:00 GMT
Newsgroups: uch.ing.dcc,chile.comp.unix