Difference between revisions of "Sniff.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
−
{{DISPLAYTITLE:sniff.m}}
+
{{DISPLAYTITLE:sniff.m}} __NOTOC__
 +
 
 
Kernel integrity control. Checks ''Spinach'' distribution .m files for any modifications that the user did since downloading ''Spinach''. The function prints the list of files that have changed in any way since the internal database has been rearmed. The purpose is to catch local modifications that the user may have made and forgotten about, that are causing some unintended consequences elsewhere in ''Spinach''.
 
Kernel integrity control. Checks ''Spinach'' distribution .m files for any modifications that the user did since downloading ''Spinach''. The function prints the list of files that have changed in any way since the internal database has been rearmed. The purpose is to catch local modifications that the user may have made and forgotten about, that are causing some unintended consequences elsewhere in ''Spinach''.
  
 
==Syntax==
 
==Syntax==
  
−
    sniff()
+
sniff(action)
 +
 
 +
==Arguments==
 +
 
 +
action - 'none' prints the names of fishy files to
 +
              the console, 'open' opens them
 +
 
 +
ilya.kuprov@weizmann.ac.il
  
 
==Outputs==
 
==Outputs==
 +
 
Either a list of functions that have changed, or an all-clear message.
 
Either a list of functions that have changed, or an all-clear message.
  
 
==See also==
 
==See also==
 +
 
[[rearm.m]], [[exorcise.m]], [[existentials.m]], [[smack.m]]
 
[[rearm.m]], [[exorcise.m]], [[existentials.m]], [[smack.m]]
  
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Revision as of 15:04, 5 April 2026


Kernel integrity control. Checks Spinach distribution .m files for any modifications that the user did since downloading Spinach. The function prints the list of files that have changed in any way since the internal database has been rearmed. The purpose is to catch local modifications that the user may have made and forgotten about, that are causing some unintended consequences elsewhere in Spinach.

Syntax

sniff(action)

Arguments

action - 'none' prints the names of fishy files to

             the console, 'open' opens them
ilya.kuprov@weizmann.ac.il

Outputs

Either a list of functions that have changed, or an all-clear message.

See also

rearm.m, exorcise.m, existentials.m, smack.m


Version 2.2, authors: Ilya Kuprov