[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Issue 1039] Changed - ra_dav / svn cat : adds a blank line at start of file

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-12-22 07:56:31 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 21 December 2002 17:54, issues@subversion.tigris.org wrote:
> + Here's the problem: programs traditionally echo the return after a
> + user enters a password at a prompt
>
> + I'm not sure there's a perfect solution to this. 'svn cat' and
> + password prompting just don't mix well.

I can't help but think that, barring line-buffer issues, the newline could
just be echoed to stderr instead of stdout (same for the password prompt).
After all, that is the purpose of stderr: a stream for messages that
shouldn't be redirected when redirecting the output into a file or pipe. Has
this already been discussed?

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+BWIfhDAgUT1yirARAsn0AJ9w5uPmHhwGAMeBl7UgAMBQvpVDQQCggA7G
vAqM/YynqcnzsdoAN+uXMlc=
=5N6Y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 22 07:57:35 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.