aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-21 06:53:59 +0000
committerrsc <devnull@localhost>2004-04-21 06:53:59 +0000
commit6b17c8f11be7556af7ae454b12dc37c9fb264a48 (patch)
tree924b9d0cf57024b794d09980cae9762fe8cf110a /bin
parentd946e4dc5df1c0fb9a06e6d94013613848c5df16 (diff)
downloadplan9port-6b17c8f11be7556af7ae454b12dc37c9fb264a48.tar.gz
plan9port-6b17c8f11be7556af7ae454b12dc37c9fb264a48.tar.bz2
plan9port-6b17c8f11be7556af7ae454b12dc37c9fb264a48.zip
more tomfoolery.
i bet mk can't read the mac os or sun os archives.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/membername7
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