Subject: [golf?] harvesting only the mached part of the matched files
From: Marc Chantreux <[email-masked]>
To: [email-masked]
Date: Mon, 25 Apr 2016 17:19:19 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

hello,

i have

	/dev/sg0
	/dev/sg1
	/dev/sg9

i want k as

	k=( 0 1 9 )

so ... i got

	k=()
	: /dev/sg[0-9]##(one:'k+=${REPLY#/dev/sg}':)

any shorter solution ?

regards

marc