Re: Converting output of 'svnlook tree' to canonical format
Peter Samuelson <[email protected]> Mon, 6 Feb 2006 15:55:32 -0600
| Newsgroups | gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user |
|---|---|
| Message-ID | <[email protected]> |
--kZU6r8y0YpRwyDfh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Carl Spalletta] > Excuse me for reinventing the wheel, but I couldn't find an existing > script to convert output of 'svnlook tree' to the usual unix format. Or, a bit shorter and more perly... #!/usr/bin/perl -nl s/^( *)//; $level = length $1; $name[$level] = $_; print @name[0..$level]; --kZU6r8y0YpRwyDfh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD58XUXk7sIRPQRh0RAtoxAKDQVZVjj3PffObhEXMDwlmgk6zfiwCfasZL GZQAOcwqi3YKgX648hxNye0= =x+jh -----END PGP SIGNATURE----- --kZU6r8y0YpRwyDfh--