diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/membername | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/membername b/bin/membername new file mode 100755 index 00000000..e55fb307 --- /dev/null +++ b/bin/membername @@ -0,0 +1,7 @@ +#!/bin/sh + +for i +do + # This works whether sed uses \(\) or () for grouping. + echo $i | sed 's/.*\((.*)\).*/\1/' | tr -d '()' +done |