[development] parameters for diff

Karoly Negyesi karoly at negyesi.net
Mon Oct 16 10:55:35 UTC 2006


They are not the same. If you have a line in a help text which begins with the f character, then -F^f will catch that. -p is harder to fool.

Regards

NK

----- Start Original Message -----
Sent: Mon, 16 Oct 2006 00:19:20 +0200
From: Gerhard Killesreiter <gerhard at killesreiter.de>
To: development at drupal.org
Subject: Re: [development] parameters for diff

> Peter Wolanin wrote:
> > As far as I can tell,  the commands:
> > 
> > "diff -u -F^f"  and  "diff -u -p"
> > 
> > produce the same output.  However, the former seems to be preferred in
> > the handbook documentation.  Is there some reason to prefer it?
> 
> No, there is only a historical reason: When I read the diff docs -F^f 
> made more sense to me. -p refers to C which isn't PHP. :p
> 
> Cheers,
> 	Gerhard
> 

----- End Original Message -----


More information about the development mailing list