From: "Jean-Noël Avila" <avila.jn@gmail.com>
To: git <git@vger.kernel.org>
Subject: [BUG] can not escape sharps in git config file
Date: Tue, 24 May 2016 12:14:42 +0200 [thread overview]
Message-ID: <57442992.6030306@gmail.com> (raw)
Hi everyone,
I stumbled on this:
config file:
[filter "kicad_sch"]
clean = sed -E 's/#(PWR|FLG)[0-9]+/#\1?/'
smudge = cat
Then in the shell:
± git add -u
sed -E 's/: 1: sed -E 's/: Syntax error: Unterminated quoted string
error: external filter sed -E 's/ failed 2
error: external filter sed -E 's/ failed
It seems that the # is used for end-of-line comments and can not be
escaped, even in quotes or backslash.
JN
next reply other threads:[~2016-05-24 10:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 10:14 Jean-Noël Avila [this message]
2016-05-24 10:25 ` [BUG] can not escape sharps in git config file Jean-Noël Avila
2016-05-24 11:23 ` Jean-Noël Avila
2016-05-25 5:11 ` Torsten Bögershausen
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57442992.6030306@gmail.com \
--to=avila.jn@gmail.com \
--cc=git@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).