Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fix noisy "which" usage by switching to command -v
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:693ab29f66699a5ac685100de0341f7806a7c590
User & Date: brandon 2016-04-06 19:45:11
Context
2016-04-06
19:59
fix [4bcc9f] check-in: 392dd493b1 user: brandon tags: trunk
19:45
fix noisy "which" usage by switching to command -v check-in: 693ab29f66 user: brandon tags: trunk
19:44
update NEWS check-in: ef9c352a94 user: brandon tags: trunk
Changes

Changes to paperq.in.

1
2
3
4
5
6
7
8
9
10
11
12
...
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
#!/bin/bash

# paperq --- Maintain a queue of documents to read

# Copyright (C) 2013, 2014 Brandon Invergo <brandon@invergo.net>

# Author: Brandon Invergo <brandon@invergo.net>

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
................................................................................
[ -f ${QFILE} ] || touch ${QFILE}
[ -f ${LOGFILE} ] || touch ${LOGFILE}
if [ -f ${CONFFILE} ]; then
    parse_conf
else
    touch ${CONFFILE}
fi
[ -f ${BIBCACHE} ] || (which zdbc 2>/dev/null && zdbc --num-buckets=${BIBCACHE_SIZE} ${BIBCACHE})


files=false
pos=1
mode=open_doc
while getopts "oalirpfhvtzn:" opt; do
    case $opt in




|







 







|







1
2
3
4
5
6
7
8
9
10
11
12
...
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
#!/bin/bash

# paperq --- Maintain a queue of documents to read

# Copyright (C) 2013, 2014, 2016 Brandon Invergo <brandon@invergo.net>

# Author: Brandon Invergo <brandon@invergo.net>

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
................................................................................
[ -f ${QFILE} ] || touch ${QFILE}
[ -f ${LOGFILE} ] || touch ${LOGFILE}
if [ -f ${CONFFILE} ]; then
    parse_conf
else
    touch ${CONFFILE}
fi
[ -f ${BIBCACHE} ] || (command -v zdbc >/dev/null && zdbc --num-buckets=${BIBCACHE_SIZE} ${BIBCACHE})


files=false
pos=1
mode=open_doc
while getopts "oalirpfhvtzn:" opt; do
    case $opt in