Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces in @define are not recognized properly #142

Closed
xonixx opened this issue Sep 17, 2023 · 0 comments
Closed

Spaces in @define are not recognized properly #142

xonixx opened this issue Sep 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@xonixx
Copy link
Owner

xonixx commented Sep 17, 2023

They are collapsed to one space.

# Makesurefile
@define A='a         b'

@goal g
  echo "$A"
$ ./makesure -f tmp/m4.sh g
  goal 'g' ...
a b

Same issue with @reached_if:

@define ISSUE_142='a     b' # 5 spaces

@goal g
@reached_if echo "$ISSUE_142"
echo 'Should not show this'

Result:

a b
  goal 'g' [already satisfied].
@xonixx xonixx added the bug Something isn't working label Sep 17, 2023
@xonixx xonixx self-assigned this Sep 17, 2023
xonixx added a commit that referenced this issue Sep 17, 2023
xonixx added a commit that referenced this issue Sep 17, 2023
xonixx added a commit that referenced this issue Sep 18, 2023
@xonixx xonixx added this to the 0.9.21 milestone Sep 23, 2023
@xonixx xonixx closed this as completed Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant