Is there such a thing as an object-oriented shell?
I was just wondering about this because of some recent operations I had to do on files. For example, given a file called "foo" (that is, foo is a file object), it would be cleaner to do things like:
file.cat foo file.size foo file.permissions.owner foo
instead of
cat foo stat -c %s foo stat -c %A foo | cut -c 2-4
Of course, I could create a bunch of aliases and functions that mimic this behaviour. But something built into the shell would be nice.
Just wondering.
Regards, - Robert http://www.cwelug.org/downloads Help others get OpenSource software. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
