🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #464

Re: problems with ADVICEs in lyric

#464
From: Stanley's Tool Works
Date: Sat, 20 Feb 1988 00:23
15 lines
848 bytes
With a small amount of effort, you can write a function PURGE-FILE-ADVICE that
removes redundent advice from a file.  Then add the form (PURGE-FILE-ADVICE
FILE) to the list MAKEFILEFORMS.

PURGE-FILE-ADVICE might look like

(LAMBDA (FILE)
  (for FN in (FILECOMSLST FILE 'ADVICE) do
     (PUTDEF FN 'ADVICE
        (CL:REMOVE-DUPLICATES (GETDEF FN 'ADVICE)
                              :TEST #'EQUAL))))

I haven't tested this out, but something like it will work.

----- smL
Technical Details
Message-ID: <880219-162400-9959@Xerox>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!XEROX.COM!Lanning.pa

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!XEROX.COM!Lanning.pa
From: Lanning.pa@XEROX.COM (Stanley's Tool Works)
Newsgroups: comp.sys.xerox
Subject: Re: problems with ADVICEs in lyric
Message-ID: <880219-162400-9959@Xerox>
Date: 20 Feb 88 00:23:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 14