All of lore.kernel.org
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
To: reiserfs-list@namesys.com
Subject: Re: reiserfsprogs 3.6.14 release
Date: Thu, 18 Mar 2004 16:02:06 -0500	[thread overview]
Message-ID: <m3hdwloom3.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <200403182350.44277.vitaly@namesys.com> (Vitaly Fertman's message of "Thu, 18 Mar 2004 23:51:42 +0300")

My /bin/sh is pdksh, which handles here-documents slightly differently
from bash: for some sequences like \", the backslash is preserved by
bash, but removed by pdksh.  To ensure that a backslash appears in the
here-document, you can escape the backslash with another backslash.
This patch (against 3.6.13, but the problem and fix are the same for
3.6.14) makes the configure script work with pdksh as well as bash.

--- reiserfsprogs-3.6.13/configure.in~	2004-03-10 17:21:56.000000000 -0500
+++ reiserfsprogs-3.6.13/configure.in	2004-03-10 17:22:42.000000000 -0500
@@ -110,7 +110,7 @@
 		fprintf(fout, ",\n\n");
 	    
 	    line[strlen(line) - 1] = 0;
-	    fprintf(fout, "\t\"%s\\\n\"", line);
+	    fprintf(fout, "\\t\\"%s\\\\n\\"", line);
 	    start = 0;
 	}
     }


paul

  reply	other threads:[~2004-03-18 21:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 20:51 reiserfsprogs 3.6.14 release Vitaly Fertman
2004-03-18 21:02 ` Paul Jarc [this message]
2004-03-19  9:23   ` Vitaly Fertman
2004-03-19 17:20     ` Paul Jarc

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=m3hdwloom3.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    --cc=reiserfs-list@namesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.