Your message dated Tue, 14 Aug 2007 21:35:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#428447: rcsdiff --unified option has no effect
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: rcs
Version: 5.7-18
Severity: normal
The "--unified" option is recognized but has no effect. Specifying a value
for --unified does not change the number of lines for context; the number
of lines remains at 3 irrespective of the number specified after --unified.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16.51
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)
Shell: /bin/sh linked to /bin/bash
Versions of packages rcs depends on:
hi libc6 2.5-10 GNU C Library: Shared libraries
rcs recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Ambrose Li <[EMAIL PROTECTED]> writes:
> The "--unified" option is recognized but has no effect. Specifying
> a value for --unified does not change the number of lines for
> context; the number of lines remains at 3 irrespective of the
> number specified after --unified.
You must use an equal sign after '--unified':
$ rcsdiff --unified=1 test.txt
===================================================================
RCS file: test.txt,v
retrieving revision 1.1
diff --unified=1 -r1.1 test.txt
--- test.txt 2007/08/14 19:29:41 1.1
+++ test.txt 2007/08/14 19:30:25
@@ -60297,5 +60297,2 @@
and your daughter.
- Lear. Ha! say'st thou so?
- Knight. I beseech you pardon me, my lord, if I be mistaken; for
- my duty cannot be silent when I think your Highness wrong'd.
Lear. Thou but rememb'rest me of mine own conception. I have
$
Alternatively, you can use the '-U <num>' syntax which doesn't need
the equal sign:
$ rcsdiff -U 10 test.txt
===================================================================
RCS file: test.txt,v
retrieving revision 1.1
diff -U 10 -r1.1 test.txt
--- test.txt 2007/08/14 19:29:41 1.1
+++ test.txt 2007/08/14 19:30:25
@@ -60288,23 +60288,20 @@
How now? Where's that mongrel?
Knight. He says, my lord, your daughter is not well.
Lear. Why came not the slave back to me when I call'd him?
Knight. Sir, he answered me in the roundest manner, he would not.
Lear. He would not?
Knight. My lord, I know not what the matter is; but to my judgment
your Highness is not entertain'd with that ceremonious affection
as you were wont. There's a great abatement of kindness appears
as well in the general dependants as in the Duke himself also
and your daughter.
- Lear. Ha! say'st thou so?
- Knight. I beseech you pardon me, my lord, if I be mistaken; for
- my duty cannot be silent when I think your Highness wrong'd.
Lear. Thou but rememb'rest me of mine own conception. I have
perceived a most faint neglect of late, which I have rather
blamed as mine own jealous curiosity than as a very pretence
and purpose of unkindness. I will look further into't. But
where's my fool? I have not seen him this two days.
Knight. Since my young lady's going into France, sir, the fool
hath much pined away.
Lear. No more of that; I have noted it well. Go you and tell my
daughter I would speak with her. [Exit Knight.] Go you, call
hither my fool.
$
This is not a bug but a user error, hence I'm closing this report.
Thanks,
--
,''`.
: :' : Romain Francoise <[EMAIL PROTECTED]>
`. `' http://people.debian.org/~rfrancoise/
`-
--- End Message ---