CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 10:52:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210084549
location: https://web.archive.org/web/20090210084549/https://examples.oreilly.com/upt2/split/findtext
server-timing: captures_list;dur=0.808096, exclusion.robots;dur=0.030776, exclusion.robots.policy;dur=0.013122, esindex;dur=0.017783, cdx.remote;dur=27.226111, LoadShardBlock;dur=635.533668, PetaboxLoader3.datanode;dur=402.523413, PetaboxLoader3.resolve;dur=226.071721
x-app-server: wwwb-app219
x-ts: 302
x-tr: 692
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 10:52:04 GMT
content-type: text/plain
content-length: 776
x-archive-orig-date: Tue, 10 Feb 2009 08:45:48 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "fb3e26-308-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 776
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:45:49 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 19 Jun 2002 02:06:15 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 20:31:02 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 08:45:49 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 12:53:49 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 02:57:32 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_20090210084453_crawl100.arc.gz
server-timing: captures_list;dur=0.487804, exclusion.robots;dur=0.019342, exclusion.robots.policy;dur=0.008648, esindex;dur=0.012213, cdx.remote;dur=19.003853, LoadShardBlock;dur=108.792281, PetaboxLoader3.datanode;dur=107.763389, PetaboxLoader3.resolve;dur=133.546514, load_resource;dur=166.222040
x-app-server: wwwb-app219
x-ts: 200
x-tr: 322
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
#
# findtext - tell which files are textual in a list of filenames you supply
#
# PIPE OUTPUT OF file THROUGH sed TO PRINT FILENAMES FROM LINES WE LIKE.
# NOTE: DIFFERENT VERSIONS OF file RETURN DIFFERENT MESSAGES. CHECK YOUR
# SYSTEM WITH 'strings /usr/bin/file' OR 'cat /etc/magic' AND ADAPT THIS.
/usr/bin/file "$@" |
sed -n '
/MMDF mailbox/b print
/Interleaf ASCII document/b print
/PostScript document/b print
/Frame Maker MIF file/b print
/c program text/b print
/fortran program text/b print
/assembler program text/b print
/shell script/b print
/c-shell script/b print
/shell commands/b print
/c-shell commands/b print
/English text/b print
/ascii text/b print
/\[nt\]roff, tbl, or eqn input text/b print
/executable .* script/b print
b
:print
s/: .*//p'