[Pkg-cron-devel] [SCM] Git repository for pkg-cron branch, master, updated. debian/3.0pl1-119-26-g95b1261

Javier Fernandez-Sanguino jfs at debian.org
Wed Sep 21 21:28:12 UTC 2011


The following commit has been merged in the master branch:
commit fe274309d8d7e7787e06d2cb88ec4ed280b63805
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Wed Sep 21 23:22:58 2011 +0200

    Escape the '%' in the examples so that they can work when copied over to crontab (Closes: #642309)

diff --git a/crontab.5 b/crontab.5
index faaf254..39a33aa 100644
--- a/crontab.5
+++ b/crontab.5
@@ -260,7 +260,7 @@ MAILTO=paul
 23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"
 5 4 * * sun     echo "run at 5 after 4 every sunday"
 # Run on every second Saturday of the month
-0 4 8-14 * *    test $(date +%u) \-eq 6 && echo "2nd Saturday"
+0 4 8-14 * *    test $(date +\\%u) \-eq 6 && echo "2nd Saturday"
 .fi
 .SH EXAMPLE SYSTEM CRON FILE
 
@@ -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
 
 
diff --git a/debian/changelog b/debian/changelog
index 8ea8210..fac89d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+cron (3.0pl1-121) UNRELEASED; urgency=low
+
+  * debian/control:
+    - Put the maintainer address in UTF-8 encoding
+  * debian/source/lintian-overrides:
+    - Removed, no longer required
+  * crontab.5:
+    - Escape the '%' in the examples so that they can work when copied over
+      to crontab (Closes: #642309)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs at debian.org>  Mon, 19 Sep 2011 00:20:17 +0200
+
 cron (3.0pl1-120) unstable; urgency=low
 
   * do_command.c, cron.h, cron.8: 

-- 
Git repository for pkg-cron



More information about the Pkg-cron-devel mailing list