[Pkg-cron-devel] [pkg-cron] 10/19: man: Don't use hyphen as a minus sign

Christian Kastner chrisk-guest at moszumanska.debian.org
Fri Oct 10 15:18:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch ckk/cron-125
in repository pkg-cron.

commit cbc839ac87b85e2c11f7ca7a7460e3da4f9af18b
Author: Christian Kastner <debian at kvr.at>
Date:   Thu Oct 9 00:09:37 2014 +0200

    man: Don't use hyphen as a minus sign
    
    As reported by lintian
---
 crontab.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crontab.5 b/crontab.5
index f320f32..3d32a8e 100644
--- a/crontab.5
+++ b/crontab.5
@@ -278,7 +278,7 @@ SHELL=/bin/sh
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
 # m h dom mon dow user	command
-17 * * * *  root  cd / && run-parts --report /etc/cron.hourly
+17 * * * *  root  cd / && run-parts \-\-report /etc/cron.hourly
 25 6 * * *  root  test \-x /usr/sbin/anacron || ( cd / && run-parts \-\-report /etc/cron.daily )
 47 6 * * 7  root  test \-x /usr/sbin/anacron || ( cd / && run-parts \-\-report /etc/cron.weekly )
 52 6 1 * *  root  test \-x /usr/sbin/anacron || ( cd / && run-parts \-\-report /etc/cron.monthly )
@@ -339,7 +339,7 @@ For example, to run a program the last Saturday of every month you could use
 the following wrapper code:
 
 .nf
-0 4 * * Sat   [ "$(date +\\%e)" = "`ncal | grep $(date +\\%a | sed  -e 's/.$//') | sed -e 's/^.*\\s\\([0-9]\\+\\)\\s*$/\\1/'`" ] && echo "Last Saturday" && program_to_run
+0 4 * * Sat   [ "$(date +\\%e)" = "`ncal | grep $(date +\\%a | sed \-e 's/.$//') | sed \-e 's/^.*\\s\\([0-9]\\+\\)\\s*$/\\1/'`" ] && echo "Last Saturday" && program_to_run
 .fi
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cron/pkg-cron.git



More information about the Pkg-cron-devel mailing list