SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 22 | August | 2005 ]

>> Next Message >>


Date: Mon, 22 Aug 2005 09:52:41 PDT7
From: Peter Skye <pskye@peterskye.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: command line parameter for Help ?

Content Type: text/plain

I have a program CDN which currently uses the command line parameter /?
to display Help. Running CDN with no parameters displays a list of
current directory information and I don't want to change that, i.e. I
don't want CDN without parameters to instead display the Help screen.

But now I want to add a "mask" so you can see current directory
information for just the directories whose names match the "mask".

The problem is "/?". It looks like a mask and it is conceivable that
someday somebody is going to want to display the information for all the
subdirectories in the root directory which are only one character long.

THE QUESTION: It's easy for me to simply code for "/?" being a special
case. But are there any options I haven't thought of so that a mask of
"/?" can be used?

Here are examples of CDN command lines:

CDN [this displays a numbered list of all current-directory subdirectories]
CDN /? [this displays the Help screen]
CDN 27 [this switches to the 27th subdirectory]
CDN 2005* [this displays all subdirectory names that begin with 2005]
CDN 2005* 27 [this switches to the 27th subdirectory in the 2005* list]

- Peter

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


>> Next Message >>

Return to [ 22 | August | 2005 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.