search text result
Posted: Wed Mar 18, 2015 10:38 am
Hi!
I have to search in a text if there is a certain string.
In details I have to check if a file is in a folder.
So i get the list of files with "the files"
Now searching the web i found the "find" command, but it seems that it draw a box around a text instead of answer if is it found or not.
How should i do to know if the text is present or not?
OT: I found in the dictionary that every command is well explained but not the results.
You know, you can find for every command what it does but not where it place its "result".
I think that more than Syntax, summary and examples, every command should have an "OUTPUT" section to tell the user what and where does the command/function give back.
I have to search in a text if there is a certain string.
In details I have to check if a file is in a folder.
So i get the list of files with "the files"
Now searching the web i found the "find" command, but it seems that it draw a box around a text instead of answer if is it found or not.
How should i do to know if the text is present or not?
OT: I found in the dictionary that every command is well explained but not the results.
You know, you can find for every command what it does but not where it place its "result".
I think that more than Syntax, summary and examples, every command should have an "OUTPUT" section to tell the user what and where does the command/function give back.