1833162 Members
3379 Online
110051 Solutions
New Discussion

Re: Quick Geek Quiz

 
Robert Atkinson
Respected Contributor

Quick Geek Quiz

Here's a quick question to liven up you snowing Friday afternoon.

What filename will be produced from the following command :-

$ SEA *.COM "TEST" /OUT=[MYDIR]

Remember, no cheating allowed!!!
8 REPLIES 8
Uwe Zessin
Honored Contributor

Re: Quick Geek Quiz

Nice quiz. Too bad that I would have lost :-(

Consulting the online help gives a little more clue, because it tells that you can use /OUTPUT without a qualifier value.
.
Art Wiens
Respected Contributor

Re: Quick Geek Quiz

My guess would be, the filename of the first command file found with a match, and a .LIS extension.

Now I must try it ;-)

Art
Art Wiens
Respected Contributor

Re: Quick Geek Quiz

:-( no points for me.

Wrong again,
Art
Kris Clippeleyr
Honored Contributor

Re: Quick Geek Quiz

Robert,

What is cheating?
If the directory does exist, and the process has write access to it, I guess the file created would be SEARCH.LIS, otherwise no file would be created.

Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Robert Atkinson
Respected Contributor

Re: Quick Geek Quiz

Cheating is trying the command before posting your answer....did you??

Anyway, for trying to be a Geek and having loads of if's and but's, I'm only awarding 1 point!! Everyone knows that none of the COM files contain the word TEST so no file would be produced anyway :-)

Rob.
Kris Clippeleyr
Honored Contributor

Re: Quick Geek Quiz

Robert,


Everyone knows that none of the COM files contain the word TEST so no file would be produced anyway :-)


I've tried the command (on VMS V8.2 Itanium). And even if the search string is not found in the COM files, a zero block SEARCH.LIS is created, and the message %SEARCH-I-NOMATCHES is displayed on SYS$OUTPUT.

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Robert Atkinson
Respected Contributor

Re: Quick Geek Quiz

See, now that's the sort of 'Geekness' I'm talking about, but for pure persistence, 7 points!

Any further attempts to prove me wrong will lead to the forfeit of 50 points....
Robert Atkinson
Respected Contributor

Re: Quick Geek Quiz

Well done all, have a good weekend.

Rob.