]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
braille: replace all non-breakable spaces by space 39/head
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 23 Apr 2018 12:53:33 +0000 (14:53 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 23 Apr 2018 12:53:33 +0000 (14:53 +0200)
not only the first on a line

filter/braille/drivers/generic/brftoembosser.in

index a428194eeef76d12ef207247153fb99587d831bd..5b44ffa13e6acc0c0d24cddf4a9939c08b49adec 100755 (executable)
@@ -78,8 +78,8 @@ do
     sed -e "s/^\(\f\?\)/\1$LEFTSPACES/" \
         -e "s/\f/\f$NEWPAGESED/" \
         -e 's/^$/'$'\015''/' \
-        -e 's/'$'\302'$'\240''/ /' \
-        -e 's/'$'\240''/ /' \
+        -e 's/'$'\302'$'\240''/ /g' \
+        -e 's/'$'\240''/ /g' \
         -e 's/\([^'$'\015'']\)$/\1'$'\015''/'
   
   if [ "$SENDFF" = True ]