CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 14:49:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080518203133
location: https://web.archive.org/web/20080518203133/https://examples.oreilly.com/upt2/split/head
server-timing: captures_list;dur=0.473173, exclusion.robots;dur=0.017682, exclusion.robots.policy;dur=0.008423, esindex;dur=0.010036, cdx.remote;dur=228.404200, LoadShardBlock;dur=485.352522, PetaboxLoader3.datanode;dur=110.009788, PetaboxLoader3.resolve;dur=224.992992
x-app-server: wwwb-app218
x-ts: 302
x-tr: 740
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app218; 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: Thu, 17 Jul 2025 14:49:52 GMT
content-type: text/plain
content-length: 869
x-archive-orig-date: Sun, 18 May 2008 20:31:31 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "54c44a-365-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 869
x-archive-orig-connection: close
cache-control: max-age=1800
x-archive-guessed-content-type: text/plain
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 18 May 2008 20:31:33 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 26 Apr 2002 16:18:58 GMT", ; rel="prev memento"; datetime="Tue, 16 Oct 2007 16:14:56 GMT", ; rel="memento"; datetime="Sun, 18 May 2008 20:31:33 GMT", ; rel="next memento"; datetime="Tue, 10 Feb 2009 08:54:37 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:26:42 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_3_20080518193113_crawl107-c/52_3_20080518203051_crawl100.arc.gz
server-timing: captures_list;dur=0.754574, exclusion.robots;dur=0.034500, exclusion.robots.policy;dur=0.015927, esindex;dur=0.018245, cdx.remote;dur=218.530925, LoadShardBlock;dur=394.217126, PetaboxLoader3.datanode;dur=476.479521, load_resource;dur=256.854700, PetaboxLoader3.resolve;dur=167.255718
x-app-server: wwwb-app218
x-ts: 200
x-tr: 901
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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
# SET NUMBER OF LINES TO SHOW:
case "$1" in
-[0-9]*)
show="`expr $1 : '-\([0-9]*\)'`"
shift
;;
-*) echo "Usage: `basename $0` [-n] [files...]" 1>&2
exit 1
;;
*) show=10 ;;
esac
case $# in
0|1) # READ STDIN OR SINGLE FILE, NO TITLES:
sed -n "1,${show}p
${show}q" $1
;;
*) # STEP THROUGH FILENAMES, SHOW TITLES FIRST:
while :
do
case $# in
0) break ;;
esac
if [ ! -r "$1" -o ! -f "$1" ]
then
echo "`basename $0`: can't read $1... skipping..." 1>&2
else
# SHOW TITLE BEFORE FILE:
sed "
1i\\
==> $1 <==
${show}q" $1
# SHOW BLANK LINE AFTER ALL EXCEPT LAST FILE:
case $# in
1) ;;
*) echo ;;
esac
fi
shift
done
;;
esac
exit