Api/minux.replaceline()
Jump to navigation
Jump to search
this function is part of the minux. api and used to replace a line in a file with another value
it takes a filename(absolute path), input and output variable.
usage:
minux.replaceline(filename, input, output)
output:
replaces the line containing "input" with the line containing "output" in filename.
outputs true if file found, false if not