CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 19:46:44 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210084138
location: https://web.archive.org/web/20090210084138/https://examples.oreilly.com/upt2/split/rcsrevs
server-timing: captures_list;dur=0.560786, exclusion.robots;dur=0.027534, exclusion.robots.policy;dur=0.016196, esindex;dur=0.012351, cdx.remote;dur=24.987614, LoadShardBlock;dur=322.495709, PetaboxLoader3.datanode;dur=158.494051
x-app-server: wwwb-app201
x-ts: 302
x-tr: 374
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app201; 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, 24 Jul 2025 19:46:45 GMT
content-type: text/plain
content-length: 878
x-archive-orig-date: Tue, 10 Feb 2009 08:41:37 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "b0a85d-36e-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 878
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 08:41:38 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 19 Jun 2002 02:04:33 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 20:33:29 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 08:41:38 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 16:39:10 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:07:30 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_20090210084119_crawl100.arc.gz
server-timing: captures_list;dur=0.530398, exclusion.robots;dur=0.027093, exclusion.robots.policy;dur=0.016106, esindex;dur=0.011591, cdx.remote;dur=241.717812, LoadShardBlock;dur=357.460764, PetaboxLoader3.resolve;dur=414.515571, PetaboxLoader3.datanode;dur=198.892893, load_resource;dur=374.289606
x-app-server: wwwb-app201
x-ts: 200
x-tr: 1004
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
### rcsrevs - get all revision number of RCS file
### Usage: rcsrevs [rlog options] file
##
## rcsrevs GIVES A LIST OF ALL REVISION NUMBERS OF AN RCS FILE.
## BY DEFAULT, rcsrevs GIVES ALL REVISION NUMBERS; YOU CAN CUT
## THIS DOWN WITH A -rrange OPTION. OTHER rlog OPTIONS WORK TOO.
# RUN rlog TO GET REVISION LIST. IF -r OPTION, LET rlog PICK RANGE.
# LOOK FOR THE LINES AFTER THE ROW OF DASHES; GRAB THE NUMBERS:
# ----------------------------
#> revision 1.3
# date: 90/04/24 21:54:19; author: jdpeek; state: Exp; lines added/del: 2/2
# ...
# ----------------------------
#> revision 1.2
# date: 85/10/20 16:32:54; author: jerryp; state: Exp; lines added/del: 4/3
# ...
rlog "$@" |
sed -n '
:loop
/^----------------------------$/ {
n
/^revision [0-9]/ {
s/revision \([0-9.][0-9.]*\).*/\1/
H
b
}
b loop
}
$ {
g
s/^\n//
p
}'