Mailing List Archive

Router/Switch name globbing?
Can I glob the -r "devicename"

Ex: -r ds1*



Dave Packham
Router/Switch name globbing? [ In reply to ]
Fri, May 10, 2002 at 11:16:07AM -0600, Dave Packham:
> Can I glob the -r "devicename"
>
> Ex: -r ds1*

yes and no. the shell will expand it, so yes. but, the -r option
only takes 1 argument. so, control_rancid will return an error
(probably unknown group) if the glob expands to more than one device.
also, it does not handle paths, eg: group/configs/device, just a
device name.