🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by gnu Mon, 10 Oct 1988 22:35
diff of file and directory should only use last component of path
#1370
Author: gnu
Date: Mon, 10 Oct 1988 22:35
14 lines
796 bytes
Unix diff can do things like:

	diff file dir
or
	diff dir file

and it will diff "file" against "dir/file".  GNU diff does this too,
but it takes the "dir/file" literally.  Unix diff actually just uses
the last component of the filename, e.g.

	diff /usr/include/stdio.h .

will diff "/usr/include/stdio.h" against "./stdio.h".  GNU diff compares
"/usr/include/stdio.h" against ".//usr/include/stdio.h".
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads