CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 01:08:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210094434
location: https://web.archive.org/web/20090210094434/https://examples.oreilly.com/upt2/split/count.it
server-timing: captures_list;dur=7.197772, exclusion.robots;dur=0.036322, exclusion.robots.policy;dur=0.015475, esindex;dur=0.035786, cdx.remote;dur=76.180926, LoadShardBlock;dur=317.421954, PetaboxLoader3.datanode;dur=240.223309, PetaboxLoader3.resolve;dur=53.704606
x-app-server: wwwb-app204
x-ts: 302
x-tr: 437
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app204; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 16 Jul 2025 01:08:02 GMT
content-type: text/plain
content-length: 453
x-archive-orig-date: Tue, 10 Feb 2009 09:44:33 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "fb3e14-1c5-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 453
x-archive-orig-connection: close
x-archive-orig-content-language: it
x-archive-orig-x-pad: avoid browser bug
cache-control: max-age=1800
x-archive-guessed-content-type: text/plain
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 10 Feb 2009 09:44:34 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 19 Jun 2002 01:47:26 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 20:30:14 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 09:44:34 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 17:26:52 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:18:37 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090210075601_crawl103-c/52_8_20090210094331_crawl100.arc.gz
server-timing: captures_list;dur=0.490272, exclusion.robots;dur=0.021287, exclusion.robots.policy;dur=0.010295, esindex;dur=0.010607, cdx.remote;dur=15.323222, LoadShardBlock;dur=130.550376, PetaboxLoader3.datanode;dur=133.748386, PetaboxLoader3.resolve;dur=105.000030, load_resource;dur=149.306546
x-app-server: wwwb-app204
x-ts: 200
x-tr: 316
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
accept-ranges: bytes
#!/bin/sh
# Show the difference in word length between 2 files.
count_1=`wc -w < $1` # number of words in file 1
count_2=`wc -w < $2` # number of words in file 2
diff_12=`expr $count_1 - $count_2` # difference in word count
# if $diff_12 is negative, reverse order and don't show the minus sign:
case "$diff_12" in
-*) echo "$2 has `expr $diff_12 : '-\(.*\)'` more words than $1" ;;
*) echo "$1 has $diff_12 more words than $2" ;;
esac