s-news
[Top] [All Lists]

[S] ls vs. objects

To: "S-News (E-mail)" <s-news@wubios.wustl.edu>
Subject: [S] ls vs. objects
From: "Wright, Kevin" <WRIGHTKEVI@phibred.com>
Date: Wed, 24 May 2000 17:32:15 -0500
Sender: owner-s-news@wubios.wustl.edu
As (also) a former UNIX diehard, I much prefer "ls" to "objects".  When I
look at the code for "ls" I see:

--> ls
function(pattern = "", pos = 1)
{
        if(pattern != "")
                stop("ls() is deprecated; patterns not allowed; use
objects()")
        objects(pos)
}

Now, this is most curious.  Why didn't MathSoft provide us with this
revision of "ls"?

ls_function(pattern = "", pos = 1)
{
        objects(pos,pattern=pattern)
}


Kevin Wright, Pioneer Hi-Bred Int'l, x4054.


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>