If SHOW LOGICAL has an exact match, it displays it and nothing else. If it has no match, it says so. However, if the argument to SHOW LOGICAL contains a wildcard, then all the corresponding tables (e.g. those in LNM$FILE_DEV or all if /TABLE=* was specified) are shown, even if they have no match. An ugly workaround is
$ PIPE SHOW LOGICAL FOO/TABLE=* | SEARCH SYS$PIPE FOO
though this might not include all the information one wants.
Why can't show logical display only the tables with a match?
On Mar 2, 9:06 pm, hel...@astro.multiCLOTHESvax.de (Phillip Helbig---
undress to reply) wrote:
> If SHOW LOGICAL has an exact match, it displays it and nothing else. If
> it has no match, it says so. However, if the argument to SHOW LOGICAL
> contains a wildcard, then all the corresponding tables (e.g. those in
> LNM$FILE_DEV or all if /TABLE=* was specified) are shown, even if they
> have no match. An ugly workaround is
> $ PIPE SHOW LOGICAL FOO/TABLE=* | SEARCH SYS$PIPE FOO
> though this might not include all the information one wants.
> Why can't show logical display only the tables with a match?
Dunno. Buglet or defectlet? Looks a feature, now, and it is too late
for an incompatible change :-)
In your workaround, you don't have a wildcard in the argument. Anyway,
a slightly better workaround which includes more information is to
search for "= ", as in
$ pipe sh log decw$incl*/table=* | search sys$pipe "= "
"DECW$INCLUDE" = "SYS$SYSROOT:[DECW$INCLUDE]"
= "SYS$SYSROOT:[DECW$INCLUDE.EXTENSIONS]"
= "SYS$SYSROOT:[DECW$INCLUDE.ICE]"
= "SYS$SYSROOT:[DECW$INCLUDE.SM]"
$
VMS search uses RFAs to display a window which goes back as in /
window=(2,0). Unfortunately sys$pipe doesn't support RFAs. But if you
have GNV or a GNU grep on your system you may want to use:
$ pipe sh log decw$incl*/table=* | mc psx$root:[bin]grep "-iB2" "= "
(DECW$LOGICAL_NAMES)
<heinvandenheu...@gmail.com> wrote:
> > Why can't show logical display only the tables with a match?
> Using perl as a workaround...
Sigh...
Isn't that how *ix got the way it is now? By everybody doing their
own thing. Rather than doing the right thing, everyone did their own
thing. Result being chaos and programmers walking around SOMA with
big egos, messenger bags and empty heads. I suggest they all go to
hell in return for the disasters that they have left behind. Anyone
for figuring out the Facebook API's?
<jjgessl...@gmail.com> wrote:
>On Mar 3, 9:01 am, Hein RMS van den Heuvel
><heinvandenheu...@gmail.com> wrote:
>> > Why can't show logical display only the tables with a match?
>> Using perl as a workaround...
>Sigh...
>Isn't that how *ix got the way it is now? By everybody doing their
>own thing. Rather than doing the right thing, everyone did their own
>thing. Result being chaos and programmers walking around SOMA with
>big egos, messenger bags and empty heads. I suggest they all go to
>hell in return for the disasters that they have left behind. Anyone
>for figuring out the Facebook API's?
>Regards, J
!- This is a side comment, rather than a thread dispersant -
!- !- Again, I am reminded, why it is important to preserve the culture
!- of the VMS way (of doing things), by hook or by crook, come hell or
!- high-water, it is too fine a construction and a discipline to be
!- relegated to the footnotes of history. Conceptual Literacy must be
!- preserved!
!- !- Normal kernel programming is now resumed.
On Sat, 03 Mar 2012 13:41:33 -0800, Jojimbo wrote:
> On Mar 3, 9:01 am, Hein RMS van den Heuvel <heinvandenheu...@gmail.com>
> wrote:
>> > Why can't show logical display only the tables with a match?
>> Using perl as a workaround...
> Sigh...
> Isn't that how *ix got the way it is now? By everybody doing their own
> thing. Rather than doing the right thing, everyone did their own thing.
> Result being chaos and programmers walking around SOMA with big egos,
> messenger bags and empty heads. I suggest they all go to hell in return
> for the disasters that they have left behind. Anyone for figuring out
> the Facebook API's?
Dunno. As I read somewhere earlier this year, it's a sad day when the finest brains emerging from universities are paid to encourage other folks to click on links.
On 3/2/2012 3:06 PM, Phillip Helbig---undress to reply wrote:
> If SHOW LOGICAL has an exact match, it displays it and nothing else. If
> it has no match, it says so. However, if the argument to SHOW LOGICAL
> contains a wildcard, then all the corresponding tables (e.g. those in
> LNM$FILE_DEV or all if /TABLE=* was specified) are shown, even if they
> have no match. An ugly workaround is
> $ PIPE SHOW LOGICAL FOO/TABLE=* | SEARCH SYS$PIPE FOO
> though this might not include all the information one wants.
> Why can't show logical display only the tables with a match?
Somebody designed it that way many years ago.
It does not necessarily have some brilliant rationality.
But when coding something and it can be done in N different ways,
then you make a decision.
> On Sat, 03 Mar 2012 13:41:33 -0800, Jojimbo wrote:
>> On Mar 3, 9:01 am, Hein RMS van den Heuvel<heinvandenheu...@gmail.com>
>> wrote:
>>>> Why can't show logical display only the tables with a match?
>>> Using perl as a workaround...
>> Sigh...
>> Isn't that how *ix got the way it is now? By everybody doing their own
>> thing. Rather than doing the right thing, everyone did their own thing.
>> Result being chaos and programmers walking around SOMA with big egos,
>> messenger bags and empty heads. I suggest they all go to hell in return
>> for the disasters that they have left behind. Anyone for figuring out
>> the Facebook API's?
> Dunno. As I read somewhere earlier this year, it's a sad day when the
> finest brains emerging from universities are paid to encourage other
> folks to click on links.
Clicking on links is a skill both useful and necessary these days.
It's right up there with using a dictionary and an encyclopedia!
It does NOT replace using dictionaries and encyclopedias, online or off,
nor is it a substitute for thought!
> On Mar 3, 9:01 am, Hein RMS van den Heuvel
> <heinvandenheu...@gmail.com> wrote:
>>> Why can't show logical display only the tables with a match?
>> Using perl as a workaround...
> Sigh...
> Isn't that how *ix got the way it is now? By everybody doing their
> own thing. Rather than doing the right thing, everyone did their own
> thing. Result being chaos and programmers walking around SOMA with
> big egos, messenger bags and empty heads. I suggest they all go to
> hell in return for the disasters that they have left behind. Anyone
> for figuring out the Facebook API's?
Very good point, that's certainly one of the many reasons why I like
VMS so much.
Fortunately I don't use, nor feel any need to, use "Facebook" or any
"social media". DR is enough 'social media' for me! (PHONE and MAIL
work just fine for contacting people.)