Nmap Development mailing list archives
Re: Indentation
From: Andreas Ericsson <ae () op5 se>
Date: Thu, 22 Dec 2005 11:06:20 +0100
Pablo Fernandez wrote:
Tabs can be defined in any good editor to meet your preferences, with spaces you are stucked... I know that it can easily be changed with indent(1), but if I create a patch it will match the whole file, not just the changes...
GNU diff has an '--ignore-all-space' flag. Use it and edit the patch to use spaces (sed should work nicely) rather than tabs, or rerun indent(1) on the file with settings to restore the original indentation before running diff. -- Andreas Ericsson andreas.ericsson () op5 se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Indentation Pablo Fernandez (Dec 21)
- RE: Indentation Sina Bahram (Dec 21)
- RE: Indentation Pablo Fernandez (Dec 21)
- RE: Indentation Sina Bahram (Dec 21)
- Re: Indentation Andreas Ericsson (Dec 22)
- RE: Indentation Pablo Fernandez (Dec 21)
- RE: Indentation Sina Bahram (Dec 21)