[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An idea for versiont racking using translators

From: olafBuddenhagen
Subject: Re: An idea for versiont racking using translators
Date: Fri, 12 Sep 2008 06:10:07 +0200
User-agent: Mutt/1.5.18 (2008-05-17)


On Thu, Sep 11, 2008 at 09:43:19AM +0200, Arne Babenhauserheide wrote:
> Am Dienstag 09 September 2008 09:48:56 schrieb
> olafBuddenhagen@gmx.net:

> One very simple idea: An adventure game where your interface for
> decision making is in fact your file system. 

This is a funny idea indeed :-)

> > So, the next step is a mechanism for overloading UNIX commands?...
> > ;-)
> *gg* 
> Would be quite fun :) 
> And is damn well possible (danger: brainstorm approaching ;-) ): 
> Put a translator on /bin which points to a custom cp which first
> checks if one of the targets is covered by a version tracking
> translator, and if it is, it does a version tracking copy. If it
> isn't, it passes the parameters to the regular cp, circumventing the
> (one) translator. 
> Or a translator on /bin which checks, if one of the parameters of a
> command involves files which are under another translator which
> provides custom unix commands. 

Hm... Maybe it would be possible to create a translator that intercepts
file_exec(), and supplies different files dependant on the arguments...
But -- aside from being potentially confusing to some tools, and not
very transparent -- it looks like overkill really. Much easier just to
provide plain old wrapper scripts for the commands, wouldn't it?... :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]