mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-03-04 16:31:17 +01:00
6 lines
215 B
Plaintext
6 lines
215 B
Plaintext
templink="$(basename "$0" ".sh")._temp"
|
|
tempabs="$(pwd)/${templink}"
|
|
ln -s "../../src/batgrep.sh" "$templink"
|
|
chmod +x "$templink"
|
|
"$(basename "$templink")" "templink" "${BASH_SOURCE[0]}" -C 0 | sed '1d;$d' || true
|