summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-12-23 13:54:17 +0100
committerPatrick Simianer <p@simianer.de>2015-12-23 13:54:17 +0100
commit7e129829d3b2f9fdff469800600845591ef78ccf (patch)
tree6e37b83b5ad411f7412d3b62fad0d197a620a67d
parentbad89c4f793591c550f2fce3d6669d60b156dd34 (diff)
source_sides: get source side from translation rule
-rwxr-xr-xsource_sides4
1 files changed, 4 insertions, 0 deletions
diff --git a/source_sides b/source_sides
new file mode 100755
index 0000000..b4490c6
--- /dev/null
+++ b/source_sides
@@ -0,0 +1,4 @@
+#!/bin/zsh -x
+
+split_pipes -f 2 | sort | uniq | sed "s| |_|g" | sed "s|\[X,[12]\]|NX|g"
+