[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Server Side Include ? (Perl)



Hallo Debian,

* Udo Mueller <info@cs-ol.de> [09-04-02 00:18]:
> * Robert Rakowicz <Robert.Rakowicz@rjap.de> [08-04-02 17:05]:
> > Olaf Baumert <olaf@fwdn.org> writes:
> > 
> > > Andere Alternaive --> PHP ;)
> > 
> > das habe ich mir auch überlegt. Das Problem dabei ist, das die dateien
> > alle *.php heissen müssen. Das heisst aber wiederrum das mein Kumpel
> > alle Scripte usw. ändern darf.
> 
> for i in `ls *.html`; do mv $i $(basename $i .html).php; done

ich vergaß noch:

for i in `ls *.php`; cat $i | sed e 's/.html/.php/ > $i; done

Gruss Udo

-- 
ComputerService Müller |  You want my PGP-Key?  |   Tel: 0441-36167578
Kaspersweg 11a         | mail  -s "get pgp-key" | Fax: 01212-511073287 
26131 Oldenburg        | AD0EEC22 is not guilty |  Mobil: 0162-4365411
     Registrierter Linux-User #225706 auf Debian GNU/Linux 2.4.17

Attachment: pgpSj_PJEOxK2.pgp
Description: PGP signature


Reply to: