#!/bin/bash # Public domain notice for all NCBI EDirect scripts is located at: # https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice pth=$( dirname "$0" ) case "$pth" in /* ) ;; # already absolute * ) pth=$(cd "$pth" && pwd) ;; esac case ":$PATH:" in *:"$pth":* ) ;; * ) PATH="$PATH:$pth" export PATH ;; esac esearch -filter "$@"