-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
While parsing this part of a huge script (winetricks), I encountered an issue.
cat > "${W_TMP}"/config.xml <<__EOF__
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<PIDKEY Value="${W_KEY}" />
</Configuration>
__EOF__Results in
bashlex.errors.ParsingError: unexpected token '\n' (position 872)
I worked around it by just replacing the < char for the moment.
text = text.replace('\n<', '\n#<')This issue seems to be related to #36 - my first guess is that the parser is not interpreting the string as text, but is trying to parse it as bash or something like that.
Metadata
Metadata
Assignees
Labels
No labels