Api/minux.findfile(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "this function is part of the minux. api and used to find a string in files or folder names '''usage:''' temp = dev.findfile(searchstring) '''output:''' runs minux.lsr() to recursively list /, this is stored in /temp/ls/files.ls, the table outputed to "temp" holds the line numbers of this file corresponding to the searchstring")
 
No edit summary
 
Line 4: Line 4:
'''usage:'''
'''usage:'''


temp = dev.findfile(searchstring)
temp = minux.findfile(searchstring)





Latest revision as of 04:15, 4 October 2024

this function is part of the minux. api and used to find a string in files or folder names


usage:

temp = minux.findfile(searchstring)


output:

runs minux.lsr() to recursively list /, this is stored in /temp/ls/files.ls, the table outputed to "temp" holds the line numbers of this file corresponding to the searchstring