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

Compare is not showing the whole expected output #73

Open
oswaldo opened this issue Nov 13, 2020 · 0 comments
Open

Compare is not showing the whole expected output #73

oswaldo opened this issue Nov 13, 2020 · 0 comments

Comments

@oswaldo
Copy link

oswaldo commented Nov 13, 2020

The line https://github.com/lihaoyi/Ammonite/blob/c25dc3aa46bd409fad147aababa2186cfd51b7d8/readme/Shell.scalatex#L134 reads @compare("""ls -a | grep "^\." """, "ls! pwd |? (_.last(0) == '.')") but if I go to http://ammonite.io/#Piping, I see the following where I would expect to see the output for that line:

<div><pre><span style="color: #8e44ad;">
bash$ </span>ls -a | grep "^\."
.
..
.git
.github
.gitignore
.travis.yml</pre><pre><span>  /home/travis/build/lihaoyi/Ammonite/.git,
  /home/travis/build/lihaoyi/Ammonite/.github,
  /home/travis/build/lihaoyi/Ammonite/.gitignore,
  /home/travis/build/lihaoyi/Ammonite/.travis.yml
)
</span></pre></div>

Note that the second <pre> seems to be missing some lines at the beginning, so the example on the ammonite shell page is broken. Apparently the same is true for all other blocks.

P.S.: Many thanks to the whole team for the great projects. Really awesome contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant