aboutsummaryrefslogtreecommitdiff
path: root/bin/membername
blob: e55fb3079ebcb96a9e57e78313f7398348917683 (plain)
1
2
3
4
5
6
7
#!/bin/sh

for i
do
	# This works whether sed uses \(\) or () for grouping.
	echo $i | sed 's/.*\((.*)\).*/\1/' | tr -d '()'
done