[Info-vax] If interested with ! Linux style diff and patch on OpenVMS servers

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Tue Jan 17 20:27:39 EST 2012


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.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Info-vax mailing list