diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmUWmB1M35_jviFvGPYDIH-a-_Al-7OrXM <Daniel@web> | 2012-02-13 10:14:50 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-02-13 10:14:50 -0400 |
commit | e3304d234d59a5124ec94ea91161a80cfd3078e0 (patch) | |
tree | e2d7689805b057407a342dc779de05af29912836 | |
parent | 204d29d9253d803fb1d03415b3f9fecbec3c82f6 (diff) | |
download | ikiwiki-e3304d234d59a5124ec94ea91161a80cfd3078e0.tar ikiwiki-e3304d234d59a5124ec94ea91161a80cfd3078e0.tar.gz |
Change suggestion to man page.
-rw-r--r-- | doc/ikiwiki-calendar/discussion.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ikiwiki-calendar/discussion.mdwn b/doc/ikiwiki-calendar/discussion.mdwn new file mode 100644 index 000000000..0fa062413 --- /dev/null +++ b/doc/ikiwiki-calendar/discussion.mdwn @@ -0,0 +1,11 @@ +Suggestion to change + + 0 0 * * * ikiwiki-calendar ~/ikiwiki.setup "posts/* and !*/Discussion" + +to + + 0 0 * * * ikiwiki-calendar ~/ikiwiki.setup 'posts/* and !*/Discussion' + +I ran into (for me) unexpected behaviour with double quotes, since when I tried it in the interactive shell, the "!" made it fail ([history expansion](http://mywiki.wooledge.org/BashPitfalls#echo_.22Hello_World.21.22)). I thought "aha, it should be escaped!", did so, and did not get any error messages, but it no longer functioned as intended (as per the earlier linked page). + +The latter line will work everywhere, not just in environments without history expansion. I think trying a command manually before putting it into crontab is common, and this would avoid the possible user issue I ran into. |