Skip to content
Is this even possible?
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
x.sh

README.md

The Diff Challenge

Start with a program x. Modify it to obtain a new version y.
The goal is to have the program y output its difference with x.

In other words:

$ ./y > diff
$ patch y < diff
$ cmp x y
$

This repo contains a Bash script x.sh which is the program x.
The repo will automatically merge any pull-request that contains a modified version of x.sh (i.e. y) that satisfies the condition above. A successfully merged y will become the new x.

Current x.sh

You can’t perform that action at this time.