The best scripts ever (trick or treat)

Gary Kline kline at tao.thought.org
Wed Nov 2 14:53:46 PST 2005


On Wed, Nov 02, 2005 at 11:34:36PM +0200, Giorgos Keramidas wrote:
> On 2005-11-02 13:09, Gary Kline <kline at tao.thought.org> wrote:
> >
> > Okay, then what about
> > BEGIN_somelonghexstringthatis256byteslong
> >
> > and
> >
> > END_somelonghexstringthatis256byteslong
> 
> That's an idea.  A simple shar(1) archive could probably work too:
> 
>     flame:/home/keramida$ shar .forward
>     # This is a shell archive.  Save it in a file, remove anything before
>     # this line, and then unpack it by entering "sh file".  Note, it may
>     # create directories; files and directories will be owned by you and
>     # have default permissions.
>     #
>     # This archive contains:
>     #
>     #       .forward
>     #
>     echo x - .forward
>     sed 's/^X//' >.forward << 'END-of-.forward'
>     X|/usr/local/bin/procmail
>     END-of-.forward
>     exit

	Good one.  Scripts could be included as shar files--I
	think this is what you mean.  Then the only thing that 
	the people contributing the script would have to do
	would be to have the 
	^HEADER: strings in the right format.  It seems to me 
	that anybody who was serious about having his script(s)
	published would do that much of the work.  

	The rest of it could be done at the -www end; then, with 
	a minimun of time/effort, the categories would be underway.

> 

-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-www mailing list