glocate

faster locate using grep
git clone https://a3nm.net/git/glocate/
Log | Files | Refs | README

read.sh (157B)


      1 #!/bin/bash
      2 
      3 
      4 #
      5 #FILE="${@: -1}"
      6 #set -- "${@:1:$(($#-1))}"
      7 #
      8 ##lz4 -dck $FILE | LC_ALL=C grep "$@" > /dev/null
      9 #LC_ALL=C grep --line-buffered "$@" "$FILE"
     10