CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 11:08:37 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210083315
location: https://web.archive.org/web/20090210083315/https://examples.oreilly.com/upt2/split/cal_today
server-timing: captures_list;dur=0.653481, exclusion.robots;dur=0.024341, exclusion.robots.policy;dur=0.010688, esindex;dur=0.013338, cdx.remote;dur=234.716196, LoadShardBlock;dur=236.314703, PetaboxLoader3.datanode;dur=194.169311
x-app-server: wwwb-app219
x-ts: 302
x-tr: 503
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app219; 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 11:08:38 GMT
content-type: text/plain
content-length: 413
x-archive-orig-date: Tue, 10 Feb 2009 08:33:13 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "1bac13-19d-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 413
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:33:15 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 26 Apr 2002 15:47:38 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 20:43:11 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 08:33:15 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 13:02:25 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:05:58 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_20090210083255_crawl100.arc.gz
server-timing: captures_list;dur=0.535158, exclusion.robots;dur=0.022296, exclusion.robots.policy;dur=0.010699, esindex;dur=0.009898, cdx.remote;dur=47.442989, LoadShardBlock;dur=267.808866, PetaboxLoader3.datanode;dur=188.492382, PetaboxLoader3.resolve;dur=356.401026, load_resource;dur=353.630234
x-app-server: wwwb-app219
x-ts: 200
x-tr: 693
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
#
# cal_today - if user doesn't give an argument, put > < around today's
# date on this month's calendar
case $# in
0) set x `date` # Get the current day of the month into $4
/usr/bin/cal |
# Put > < around $4 (shell expands $4 inside the doublequotes)
sed -e 's/^/ /' -e "s/ $4$/>$4" -e "s/ $4 />$4"
;;
# If arguments are given, just run the normal cal
*) /usr/bin/cal "$@" ;;
esac