Ethereal-dev: Re: [Ethereal-dev] Time codes for text2pcap?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 19 Nov 2001 14:56:57 -0800 (PST)
> Since I don't know how to generate a patch file (probably time to
> learn)

You do it with "diff -c" or "diff -u", or with the "-c" or "-u" flags to
"cvs diff" (not all versions of "diff" support "-u"; unless you're on a
really old and tired UNIX systems, "diff" should support "-c", however).

(That handles changed files; new files should be sent as is - some
versions of "diff" support flags that generate "patches" for new files
that convert an empty file into the desired file, but

	1) not all versions of "diff" support that

and

	2) "cvs diff" doesn't support it even if the "diff" it runs does
	   (unless *maybe* it handles it with stuff added with "cvs
	   add", but if you don't have write access to a CVS tree I'm
	   not sure you can do a "cvs add".))