Created
June 1, 2017 14:08
-
-
Save eush77/b418900252b9590402497000130788ac to your computer and use it in GitHub Desktop.
Simple non-breaking space fixer for Russian language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sed -rf | |
# | |
# Simple non-breaking space fixer for Russian language. | |
# | |
# Usage: nbsp-ru FILE_IN > FILE_OUT | |
# | |
s:\b(без|безо|в|во|для|до|за|из|из-за|из-под|изо|к|ко|на|над|о|об|от|ото|по|под|подо|при|про|ради|с|со|у) :\1 :gI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment