🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #29438

Re: html

#29438
From: Mirosław Butajło
Date: Sun, 16 Dec 2007 08:41
21 lines
1624 bytes
Dnia 15-12-2007 o 12:23:09 kolesdz <kolesdz@polbox.com> napisał(a):

> Mirosław Butajło wrote:
>> Mam pliki z rozszerzeniem html i musze zamienić je na htm ponadto muszę  
>> jednocześnie podmienić w tych plikach odwołania do plików z  
>> rozszerzeniem html na rozszerzenie htm.
>>
> Nazwy plików for-em a linki wewnątrz plików sed-em. Ale jest też zabawna  
> metoda we FrontPage w Windowz.
> Robisz weba, zmieniasz nazwę i automatycznie konwertują się linki.
> Skrypt jest prosty ale muszę iść do sklepu ;) - uda się na pewno.
> pzdr
> Jacek

Rozszerzenie zmieniłem (krename)
ale mam problem ze zmianą rozszerzeń wewnątrz plików
sed -e 's/html/htm/g' *.htm


-- 
  Pozdrawiam Mirosław Butajło
Technical Details
Message-ID: <op.t3e6fdk1sa0ju1@linux.site>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <op.t3cba2bzsa0ju1@linux.site> <fk0dpu$q8a$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Mirosław Butajło <butek@poczta.onet.pl>
Newsgroups: alt.pl.comp.os.linux.debian
Subject: Re: html
Date: Sun, 16 Dec 2007 09:41:27 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 21
Message-ID: <op.t3e6fdk1sa0ju1@linux.site>
References: <op.t3cba2bzsa0ju1@linux.site> <fk0dpu$q8a$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: dtj140.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1197794550 26964 83.24.247.140 (16 Dec 2007 08:42:30 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 16 Dec 2007 08:42:30 +0000 (UTC)
User-Agent: Opera Mail/9.23 (Linux)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit