diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-16 21:05:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-16 21:05:32 +1200 |
commit | 5e31c4727e712f181966674d250a38c2dd4bd73f (patch) | |
tree | a53fa77d23cce32d3733fb5f557812a3cb1fcc82 /bin | |
parent | Change stderr redirections for consistency (diff) | |
download | dotfiles-5e31c4727e712f181966674d250a38c2dd4bd73f.tar.gz dotfiles-5e31c4727e712f181966674d250a38c2dd4bd73f.zip |
Remove some cruft from apf(1)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/apf | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -12,21 +12,6 @@ fi argfile=$1 shift -# Check the arguments file makes sense -if [[ ! -e $argfile ]] ; then - printf '%s: %s: No such file or directory\n' \ - "$self" "$argfile" - exit 1 -elif [[ -d $argfile ]] ; then - printf '%s: %s: Is a directory\n' \ - "$self" "$argfile" - exit 1 -elif [[ ! -r $argfile ]] ; then - printf '%s: %s: Permission denied\n' \ - "$self" "$argfile" - exit 1 -fi - # Read all the null-delimited arguments from the file declare -a args while IFS= read -rd '' arg ; do |