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

"Migrating to git from SVN" example script garbled by HTML special characters #572

Closed
thenickdude opened this issue Aug 20, 2015 · 1 comment

Comments

@thenickdude
Copy link

In the Migrating to Git section of the manual there's a script "to get a list of the author names that SVN uses", which displays in the browser as:

$ svn log --xml | grep author | sort -u | \
  perl -pe 's/.*>(.*?)<.>

It looks like it has some unescaped HTML characters in it which are trashing this script (perhaps helped out by an automated HTML-tidy process), but it also appears to have an unterminated string in the argument to Perl due to being truncated.

The PDF version of the manual shows the script as this on page 464, which is radically different:

svn log --xml | grep author | sort -u | \
   perl -pe 's/.*>(.*?)<.*/$1 = /'
@sxlijin
Copy link
Contributor

sxlijin commented Feb 7, 2017

This no longer seems to be an issue and should be closed.

@peff peff closed this as completed Feb 7, 2017
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

4 participants
@peff @sxlijin @thenickdude and others