.eqs. compares two strings for an exact match. It is case sensitive and thus
surprisingly strict for an OS that seems to do uppercase only...
What is regex??
Circuit names for ethernet device are DDD-N
DDCMP (serial lines), CI and DSSI devices are DD-N-M
Where D is a letter and N and M are digits.
Hans
-----Oorspronkelijk bericht-----
Van: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] Namens
Brian Hechinger
Verzonden: donderdag, december 2011 17:25
Aan: hecnet at Update.UU.SE
Onderwerp: Re: [HECnet] DCL Help needed
On 12/29/2011 11:17 AM, Steve Davidson wrote:
Steal and steal often is my motto :-)
Take whatever you need! The new version will be better commented and
not require the reboot. I will place a copy of the old version of the
data file (it matches this version) in the same directory.
I'm assuming .eqs. is rather limited (say the way = is in bash)?
Is there any sort of regex style matching available?
Short of that, is it fair to say that all circuit names in the output of
show known circuits will always be in the form of XXX-N for non-multinet
tunnels?
-brian