[Info-vax] Suggestion: Adding a /SORT option to DIRECTORY and F$SEARCH ?

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Thu Jan 27 10:26:19 EST 2022


In article <ssu8sq$lmu$2 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-01-27, Jan-Erik Söderholm <jan-erik.soderholm at telia.com> wrote:
>> Den 2022-01-27 kl. 03:51, skrev dthi... at gmail.com:
>>> 
>>>> It would be nice to be able to see the output from a DIRECTORY command
>>>> optionally sorted by one of largest size, smallest size, oldest date,
>>>> newest date, etc.
>>> 
>>> This sounds like a good opportunity for some community-contributed software (like the old DECUS Library).  :-))
>>> IIRC, there have been modified directory-like program submissions in the past.
>>> 
>>> Write a new program, DIRECTORY2 and a CLD file to do what you'd like the modified DIRECTORY to do, either using:
>>
>>>    1) Existing DIRECTORY source code from VSI,
>>
>> Is that even possible?
>>
>
>No.
>
>And even if the answer was yes, then there are also other issues
>like access to the regression testing suite VSI uses and copyright
>assignment of your code to VSI if they want to use your code
>directly within VMS itself.

Seeing as how you're such a proponent of 'ix', where one doesn't go to the
toilet without a pipe, why not this?

$ PIPE DIRECTORY/SIZE/WIDTH=(FILENAME:60) | SORT/KEY=(POSITION:60,SIZE=12) SYS$PIPE SYS$OUTPUT

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list