Difference between revisions of "Sniff.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
−
{{DISPLAYTITLE:sniff.m}} __NOTOC__
+
{{DISPLAYTITLE:sniff.m}}
−
 
 
 
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(action)
+
    sniff()
−
 
 
−
==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:50, 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()

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