about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate')
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate2
1 files changed, 2 insertions, 0 deletions
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
new file mode 100755
index 00000000..3dbddae9
--- /dev/null
+++ b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
@@ -0,0 +1,2 @@
+#! /bin/bash
+awk --assign=se=$1 ' $0 ~ se {print $0} ' "${LOCATE_DATABASE}"