Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: perfbook@vger.kernel.org
Subject: [PATCH] utilities/autodate.sh: too many \s
Date: Mon, 16 Jan 2017 18:41:25 -0500	[thread overview]
Message-ID: <20170116234125.28692-1-twoerner@gmail.com> (raw)

Remove extraneous \ which causes build to fail:

	! LaTeX Error: There's no line here to end.

	See the LaTeX manual or LaTeX Companion for explanation.
	Type  H <return>  for immediate help.
	 ...

	l.2 \\n
	       ewcommand{\\commityear}{2017}
	?
	! Emergency stop.
	 ...

	l.2 \\n
	       ewcommand{\\commityear}{2017}
	Your command was ignored.
	Type  I <command> <return>  to replace it with another command,
	or  <return>  to continue without it.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 utilities/autodate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/autodate.sh b/utilities/autodate.sh
index 6df8f99..84b4ea7 100644
--- a/utilities/autodate.sh
+++ b/utilities/autodate.sh
@@ -45,4 +45,4 @@ year=`date --date="$date_str" +%Y`
 day=`date --date="$date_str" +%e`

 echo "\\date{$month $day, $year$modified}"
-echo "\\\newcommand{\\\commityear}{$year}"
+echo "\\newcommand{\\commityear}{$year}"
-- 
2.11.0.258.ge05806d


             reply	other threads:[~2017-01-16 23:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 23:41 Trevor Woerner [this message]
2017-01-17 11:30 ` [PATCH] utilities/autodate.sh: too many \s Akira Yokosawa
2017-01-17 11:33   ` [PATCH] autodate.sh: Use printf instead of echo Akira Yokosawa
2017-01-19  2:33     ` Trevor Woerner
2017-01-19 11:16       ` [PATCH v2] autodate.sh: Use printf command " Akira Yokosawa
2017-01-20 15:01         ` Akira Yokosawa
2017-01-23  0:58           ` Paul E. McKenney
2017-01-18 17:00   ` [PATCH] utilities/autodate.sh: too many \s Trevor Woerner
2017-01-18 22:15     ` Akira Yokosawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170116234125.28692-1-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox