syphilis has asked for the wisdom of the Perl Monks concerning the following question:
Why would that system 'diff',... call be returning that value ?C:\_32\pscrpt>type t1.txt Hello C:\_32\pscrpt>type t2.txt World C:\_32\pscrpt>perl -wle "$ret = system 'diff', '-u', 't1.txt', 't2.txt +';print $ret; print $?" --- t1.txt Mon Jun 6 22:42:29 2011 +++ t2.txt Mon Jun 6 22:42:42 2011 @@ -1 +1 @@ -Hello +World 256 256
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [Win32] Successful system() call returns 256
by toolic (Bishop) on Jun 06, 2011 at 13:18 UTC | |
|
Re: [Win32] Successful system() call returns 256
by BrowserUk (Patriarch) on Jun 06, 2011 at 14:20 UTC | |
|
Re: [Win32] Successful system() call returns 256
by rovf (Priest) on Jun 06, 2011 at 14:24 UTC | |
|
Re: [Win32] Successful system() call returns 256
by zek152 (Pilgrim) on Jun 06, 2011 at 13:21 UTC | |
|
Re: [Win32] Successful system() call returns 256
by Anonymous Monk on Jun 06, 2011 at 22:14 UTC | |
by syphilis (Archbishop) on Jun 07, 2011 at 00:00 UTC |