You are not logged in.

#1 2008-03-26 18:00:58

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

diff file sintax?

For a package I need to make a diff file. It is not fixed, it is based to the position of some lib.

So, what is a place with the description of the diff files sintax?

Offline

#2 2008-03-26 18:21:58

danielsoft
Member
From: Czech Republic
Registered: 2008-02-16
Posts: 102

Re: diff file sintax?

there's a command called suprisingly "diff"
if you do

diff file1 file2

it will output -in "diff file syntax"- the differences between the files


may the Source be with you

Offline

#3 2008-03-26 18:22:33

danielsoft
Member
From: Czech Republic
Registered: 2008-02-16
Posts: 102

Re: diff file sintax?

(diff is in package diffutils, if you don't have it installed)


may the Source be with you

Offline

#4 2008-03-27 15:29:44

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: diff file sintax?

ahaha, funny.
No really, I know diff makes diff files. The point is I have to make a diff file based on an unpredictable output. (i.e., paths). Making it with sed and >> should be easy knowing the syntax.

At the moment I did reverse engineering trying to guess from diff ouputs, but it would be good having a reliable reference in case of need.

Offline

Board footer

Powered by FluxBB