Translations:UI and Help files Content Guide/90/en

From The Document Foundation Wiki
Jump to navigation Jump to search
  • Remove comments from a file
Example of the file where you want to remove the # my comment comment in the utlui.po
# my comment
#. dnChg
#: 04180400.xhp 
Enter the following in the sw/source/ui directory:
sophie@sophie:~/libo_ui-fr/sw/source/ui$ sed '/^#\ /d' utlui.po > tt
that will create the file "tt" in that directory, containing the strings where all the "#" at the beginning of the line (^) followed by nothing are deleted (the d in the syntax).