Re: BUG or not?: diff with routine scope

Bob Proulx <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Коньков Евгений wrote:
> I have diff:
> @@ -485,13 +494,25 @@ sub yamail_cb_check {
>  sub yamail_cb_init {
>      my( $self, $params )= @_;
> 
> 
> as you can see 'sub yamail_cb_init' is subroutine
> may be it must be in this line:
> '@@ -486,13 +495,25 @@ sub yamail_cb_init {'
> 
> Plus one line in starting diff

Thank you for the bug report.  However this is not enough information
to know what is happening.  Please tell us exactly the command line
used and exactly the options used.  It appears you are using the -p
option but do not know.  Please tell us the version of the command.

  diff --version

  diff -pu FILE1 FILE2

If you can reduce the file to a very small test case so that we can
reproduce the problem then we might be able to help.  The smaller you
can make the test case the easier it is to understand it.

Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.