> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:ib...@listserv.uark.edu] On Behalf Of David Boyes
> Sent: Wednesday, July 01, 2009 9:11 PM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Re: CP Query wildcards
> 
> > Wouldn't it be nice if you could  'ifconfig
> > eth*'?
> 
> You can in Plan 9. 8-)

Why can't someone write an "ifconfig" replacement which accepts something like:

ifconfig 'eth*'

The shell would not expand this due to the ' marks. The ifconfig command 
process would therefore see the asterisk. It would then need to do whatever to 
inquire on the available eth* interfaces and report on them.

This is almost like MS-DOS. The MS-DOS command prompt did not do any file name 
expansion, but passed the * on to the CP. Therefore, everything that wanted to 
accept wild cards had to implement the logic in themselves. I remember doing 
this.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

Reply via email to