summaryrefslogtreecommitdiffstats
path: root/bin/import-statements
diff options
context:
space:
mode:
Diffstat (limited to 'bin/import-statements')
-rwxr-xr-xbin/import-statements10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/import-statements b/bin/import-statements
deleted file mode 100755
index 12c8879..0000000
--- a/bin/import-statements
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /bin/sh
-# import-statements : lines (path ":" string) |> lines (path ":" relpath)
-set -euf
-sed -n '
- s@^\([^:]\+:\)\('"$(bre-invert-word import)"'\)*\<import\s\+@\1@
- t1;d
- :1; s@^\([^:]\+:\)\(\.*/\S*\)@\1\2\n@
- t2;d
- :2; P;D
-'