Re: Naming/Format conventions for INDEX files
Albert Langer <cmf851@cscgpo.anu.edu.au> Mon, 27 July 1992 12:00 UTC
Received: from ietf.nri.reston.va.us by IETF.NRI.Reston.VA.US id aa07064; 27 Jul 92 8:00 EDT
Received: from NRI.NRI.Reston.Va.US by IETF.NRI.Reston.VA.US id aa07060; 27 Jul 92 8:00 EDT
Received: from kona.CC.McGill.CA by NRI.Reston.VA.US id aa26175; 27 Jul 92 8:00 EDT
Received: by kona.cc.mcgill.ca (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA06087 on Mon, 27 Jul 92 06:19:28 -0400
Received: from anu.anu.edu.au by kona.cc.mcgill.ca with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA06083 (mail destined for /usr/lib/sendmail -odq -oi -fiafa-request iafa-out) on Mon, 27 Jul 92 06:19:21 -0400
Received: from cscgpo.anu.edu.au by anu.anu.edu.au (4.1/SMI-4.1) id AA06621; Mon, 27 Jul 92 20:19:10 EST
Received: from huxley.anu.edu.au by cscgpo.anu.edu.au (4.1/SMI-4.1) id AA01408; Mon, 27 Jul 92 20:19:02 EST
From: Albert Langer <cmf851@cscgpo.anu.edu.au>
Message-Id: <9207271019.AA01408@cscgpo.anu.edu.au>
Subject: Re: Naming/Format conventions for INDEX files
To: "Eric A. Anderson" <ea08+@andrew.cmu.edu>
Date: Mon, 27 Jul 1992 20:19:06 -0500
Cc: iafa@cc.mcgill.ca, de-mirror@informatik.tu-muenchen.de, Peter.Elford@aarnet.edu.au
In-Reply-To: <0ePyUMq00VQwIHT2Nb@andrew.cmu.edu>; from "Eric A. Anderson" at Jul 25, 92 07:23:04 am
X-Mailer: ELM [version 2.4dev PL32]
> > We are going to write a small script that converts the new index format > > to plain ls-lR for sites using index parsers restricted to that. > I'm not convinced it would be completely trivial, you've got to > convert the date format. Also you have to re-arrange the positions of > stuff in the file. It wouldn't be impossible, but neither would it be > trivial. If anybody wants it I've got an awk based script that does this stuff and properly takes into account date format, embedded spaces (and leading and trailing) etc etc. Based on previous version by Mark Moraes, but thoroughly mutilated. It worked with trees of horrible Macintosh file names including hidden files and directories. (Would you believe that when I had it working as long as there were no LEADING spaces in the FIRST filename of a directory, used to determine start position for remaining names, it turned out that Macinotsh virus protection system uses filenames that start with leading spaces!) Main "feature" was that it also worked with 14 character Sys V filename limit (by converting longer path segments names to multiple segment path names), so as to automate ftping from BSD to Sys V. (Yeah, SINCE then I got hold of R4 :-) I still think it SHOULD have been completely trivial, but with MY script skills it grew to an unmanageable mess which I had originally intended to polish up a bit at least to the point where it could be passed on for somebody else to finish properly, but I eventually abandonded it on the assumption that there are better solutions around. (Archie and the various mirror sites etc MUST have solved these problems by now...) Did more than just parse the ls-lR though - maintained mirror databases and thorough error checking for comparison between request and result of ftping a tree. Worth checking with archie developers (and lookup archie itself) for better solutions now available, but anybody interested is welcome to my mess if only as an example of what to avoid. :-) Will just email it on request with current messy "notes" and no attempted cleanup and respond to any questions (other than "why didn't you give up on writing scripts much sooner"), rather than attempt to document it to avoid questions. P.S. cc to Peter Elford is follow up on ancient promise to pass it on. My advice is don't bother looking at it. :-)
- Naming/Format conventions for INDEX files Markus Stumpf
- Re: Naming/Format conventions for INDEX files Eric A. Anderson
- Re: Naming/Format conventions for INDEX files Carsten Rossenhoevel
- RE: Naming/Format conventions for INDEX files George D. Greenwade
- Re: Naming/Format conventions for INDEX files Eric A. Anderson
- Re: Naming/Format conventions for INDEX files Eric A. Anderson
- Re: Naming/Format conventions for INDEX files Larry Masinter
- RE: Naming/Format conventions for INDEX files Hank Nussbacher
- Re: Naming/Format conventions for INDEX files Albert Langer
- RE: Naming/Format conventions for INDEX files Markus Stumpf
- RE: Naming/Format conventions for INDEX files George D. Greenwade
- Naming/Format conventions for INDEX files ferguson
- RE: Naming/Format conventions for INDEX files George D. Greenwade
- Re: Naming/Format conventions for INDEX files Eric A. Anderson
- RE: Naming/Format conventions for INDEX files Aydin Edguer
- RE: Naming/Format conventions for INDEX files George D. Greenwade