Sometimes it is useful to get deterministic results from diff, so that the same input data produces the same output. I accept that the timestamps diff includes come from the input files specified, not the time when diff was run, so in that sense they are deterministic. But still it is awkward to have to touch(1) the input files or otherwise mess around in order to guarantee that the same input contents produce the same diff.
Please consider a --no-timestamp flag which stops diff printing the timestamp of the input files in the header of its output. -- Ed Avis <e...@waniasset.com> Please ignore autogenerated disclaimer below this point. This email is intended only for the person to whom it is addressed and may contain confidential information. Any retransmission, copying, disclosure or other use of, this information by persons other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material. This email is for information only and is not intended as an offer or solicitation for the purchase or sale of any financial instrument. Wadhwani Asset Management LLP is a Limited Liability Partnership registered in England (OC303168) with registered office at 40 Berkeley Square, 3rd Floor, London, W1J 5AL. It is authorised and regulated by the Financial Conduct Authority.