http://qs321.pair.com?node_id=837007


in reply to Re: Gathering current ksh shell aliases in perl
in thread Gathering current ksh shell aliases in perl

Just out of curiosity, what operating systems do have that kind of API?

I vaguely recall Plan 9 having some level of FS type access to process internal state, but I may be pulling that out of the ether.

for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Replies are listed 'Best First'.
Re^3: Gathering current ksh shell aliases in perl
by JavaFan (Canon) on Apr 27, 2010 at 07:48 UTC
    Some OSses have an API to get some introspection about processes. Think SUNs Dtrace, or HPs Glance. I guess one could even consider /proc to be an API to get some introspection.

    But I don't know of an OS that allows querying for aliases.