CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 09:05:24 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210090632
location: https://web.archive.org/web/20090210090632/https://examples.oreilly.com/upt2/split/xgrep
server-timing: captures_list;dur=3.667169, exclusion.robots;dur=0.019345, exclusion.robots.policy;dur=0.010047, esindex;dur=0.009659, cdx.remote;dur=32.640679, LoadShardBlock;dur=296.266999, PetaboxLoader3.datanode;dur=88.877790, PetaboxLoader3.resolve;dur=144.272342
x-app-server: wwwb-app204
x-ts: 302
x-tr: 354
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: Thu, 17 Jul 2025 09:05:25 GMT
content-type: text/plain
content-length: 401
x-archive-orig-date: Tue, 10 Feb 2009 09:06:32 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "436936-191-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 401
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: Tue, 10 Feb 2009 09:06:32 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 18 Jun 2002 23:20:26 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 20:48:56 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 09:06:32 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 16:40:25 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 02:59:20 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_20090210090608_crawl100.arc.gz
server-timing: captures_list;dur=0.531099, exclusion.robots;dur=0.022181, exclusion.robots.policy;dur=0.011036, esindex;dur=0.010879, cdx.remote;dur=14.685748, LoadShardBlock;dur=295.200794, PetaboxLoader3.datanode;dur=182.379675, PetaboxLoader3.resolve;dur=132.413087, load_resource;dur=112.801801
x-app-server: wwwb-app204
x-ts: 200
x-tr: 445
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=2
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
# xgrep - print just the matches on separate lines
# Written by Greg Ubben, DoD, 3 Feb 1994
if [ $# -eq 0 ]; then
echo "Usage: $0 pattern [file...]" >&2
exit 2
fi
re=$1; shift
x=`echo \\\02` # unlikely ^B will occur in the input
#x=`echo 2 | tr 2 \\\02` # use if your echo doesn't change \02 to ^B
sed "
\\$x$re$x!d
s//$x&$x/g
s/[^$x]*$x//
s/$x[^$x]*$x/\\
/g
s/$x.*//
" "$@"