Translations:UI and Help files Content Guide/80/en
Jump to navigation Jump to search
The grep command is used under Linux, macOS or Unix-like systems to search through text files, or to search the given file for lines containing a match to the given strings or words. The command will display the line matching the search.
- The simplest syntax is:
grep 'word' filename.po
sophie@sophie:~/libo_ui-fr$ grep 'Browse' accessibility/source/helper.po
- Here we are telling the grep command to find the word Browse in the helper.po file, which is in the subdirectory source of the accessibility directory.