[Info-vax] If interested with ! Linux style diff and patch on OpenVMS servers
Arne Vajhøj
arne at vajhoej.dk
Wed Jan 18 21:38:31 EST 2012
On 1/17/2012 8:27 PM, VAXman- @SendSpamHere.ORG wrote:
> In article<4f16193a$0$289$14726298 at news.sunsite.dk>, =?ISO-8859-1?Q?Arne_Vajh=F8j?=<arne at vajhoej.dk> writes:
>> On 1/17/2012 6:38 PM, VAXman- @SendSpamHere.ORG wrote:
>>> In article<26bdeb9f-8f99-4d88-9217-71533c11d3ee at p13g2000yqd.googlegroups.com>, Steven Schweda<sms.antinode at gmail.com> writes:
>>>>> [...] But none of the GNV diff tools can work on
>>>>> VMS file versions - neither from bash nor from DCL.
>>>>
>>>> As usual, showing actual commands with their actual output
>>>> can be more informative than vague descriptions or
>>>> interpretations. I do stuff like this with no trouble (using
>>>> my non-GNV code):
>>>>
>>>> alp $ gdiff junk.txt;-1 junk.txt;
>>>> 1c1
>>>> < old junk
>>>> ---
>>>>> new junk
>>>>
>>>> Do you mean stuff like this?:
>>>>
>>>> alp$ diff 'junk.txt;-1' 'junk.txt;'
>>>> diff: junk.txt;-1: no such file or directory
>>>> diff: junk.txt;: no such file or directory
>>>>
>>>> (Ask me why I often don't rely on GNV.)
>>>>
>>>>
>>>>> How is this any different from DIFFERENCE/SLP and EDIT/SUM,
>>>>> other than for perhaps the recursive aspects?
>>>>
>>>> If someone gives you GNU "diff -u" output, can EDIT/SUM do
>>>> the job with it?
>>>
>>> No. But this IS a forum for discussing VMS.
>>
>> Even VMS users occasionally get files from a non VMS system.
>
> I get lots of files from non VMS systems but I've never had to use 'diff'
> or 'patch' (the unix variants) on them.
If you get software patches from a non VMS system you will quite
often get a *nix diff that requires patch to apply.
Arne
More information about the Info-vax
mailing list