[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Hvilket sprog



donald_j_axel wrote:
>> Hente samme side,
> wget igen?

--timestamping tillader at checke på serveren om filen
er updateret. Og kun hente den hvis det er tilfældet.

>> sammenligne den med den gemte, 
> diff

diff -u er specielt praktisk for at se forskelle, da den
tager 2-3 liners kontekst med.

Evt. kunne teksten køres igennem w3m -dump eller lynx -dump
før diff, for kun at se forskelle teksten, og ikke html koden.

> Hmmm ... tekstbehandling med programmering? Perl, eller gawk.
> Assembler og op? Assembler er godt til noget helt andet.

Gemmer du output i en fil, vil denne være tom hvis der ikke
er nogen forskel. I bash vil [ -s filnavn ] teste om filen
har non-zero størrelse, hvorfor du kan vælge respons.

-- 
  Mvh. Carsten Svaneborg
http://www.softwarepatenter.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *