[Question] Complex textconv text
- From
Randall S. Becker <rsbecker@nexbridge.com>
- Date
- Dec 13, 2018, 15:07 UTC
- Message-ID
- <004501d492f5$98f0fcc0$cad2f640$@nexbridge.com>
Hi all,
I have a strange situation and need help with resolving funky characters in .git/config. My situation is this:
[diff "*.dat"] textconv = enscribe-conv --format=-a1\(A=-a1,-a16,-a32\|P=-a1,-a32,-a16\|=-a1,-d,a14\),-a224
Basically this is a formatter for diff so that I can show structured binary data. The unquoted syntax of the format string is: --format=-a1(A=-a1,-a16,-a32|P=-a1,-a32,-a16|=-a1,-d,a14),-a224
Content is not really important. The issue is that git is reporting fatal: bad config line 2 in file .git/config when I escape the (, ), and | characters. I get syntax errors otherwise from the shell running the textconv. I have tried --format="-a1(A=-a1,-a16,-a32|P=-a1,-a32,-a16|=-a1,-d,a14),-a224", to no avail. How should I safely escape the characters in here?
Thanks, Randall
-- Brief whoami: NonStop developer since approximately 211288444200000000 UNIX developer since approximately 421664400 -- In my real life, I talk too much.