Re: lug-bg: substitution ednovremenno v nyakolko fail-a
- Subject: Re: lug-bg: substitution ednovremenno v nyakolko fail-a
- From: tacho@xxxxxxxxxx (Stanislav Grozev)
- Date: Fri, 15 Dec 2000 09:33:38 +0200
On Wed, Dec 13, 2000 at 09:41:55PM -0800, Rosen wrote:
> Vaprosa mi e : kak moga da korigiram vsichki failowe
> navednaz? Ne znam bash ili perl za da si napisha
> script, nito nesto podobno. Misleh si da sloza na
pishesh edin shell script sys edin for cikyl, koito zawyrta
wsichki failowe prez sed. ie:
for file in file1 file2 file3; do
cat $a | sed -e 's/bau/miau/' > $a.gotov;
done
ili neshto ot sorta. razbira se, mojesh i sys perl skript, no
za takava elementarna operacia ne si struva.
-tacho
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|