Objects for shell

Anthony Rangecroft anthony.rangecroft at philips.com
Fri Nov 2 10:14:27 EST 2001


I was wanting to use objects with shell programming
and started on a script that lets me write things like:

    $ Object child Disks
    $ Disks child system
    $ system device: /dev/dsk/c0t4d0
    $ Disks @free: 'df `$self device` | awk {print\ \$4}'
    $ system free
    599896

Is there a prototyping/parenting (rather than class based)
OOP capability available for any of the main shells?  

Alternatively are there any interpreters supporting
parenting?  As I understand it both Perl and Python
are class based, and the Sather newsgroup seems to be
asking what happened to Sather...

Anthony.Rangecroft at philips.com



More information about the Python-list mailing list