1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

man: add minor regexp

This commit is contained in:
Heinz Mauelshagen 2017-03-30 17:54:02 +02:00
parent 2b46fe5843
commit 99dc49c7dd

View File

@ -191,11 +191,10 @@ endef
# #
# - multiple (>= 2) # - multiple (>= 2)
# - in ' -' # - in ' -'
# - in (cache|thin)-*
# - in ranges # - in ranges
# - in "$vg-$lv" # - in middle of options (e.g. '--use-policies') and their arguments
# - in middle of options (e.g. '--use-policies')
# - in symbolic use (e.g. '->') # - in symbolic use (e.g. '->')
# - in "$vg-$lv"
# - in single one in '\\f.-' # - in single one in '\\f.-'
define ESCAPEHYPHENS define ESCAPEHYPHENS
$(SED) -i -e "s+\([ [:alpha:]]\)-\{7\}+\1\\\-\\\-\\\-\\\-\\\-\\\-\\\-+g" \ $(SED) -i -e "s+\([ [:alpha:]]\)-\{7\}+\1\\\-\\\-\\\-\\\-\\\-\\\-\\\-+g" \
@ -207,6 +206,7 @@ $(SED) -i -e "s+\([ [:alpha:]]\)-\{7\}+\1\\\-\\\-\\\-\\\-\\\-\\\-\\\-+g" \
-e "s+\([^\]\)-\([[:alnum:]\?]\)+\1\\\-\2+g" \ -e "s+\([^\]\)-\([[:alnum:]\?]\)+\1\\\-\2+g" \
-e "s+ --+\\\-\\\-+g" \ -e "s+ --+\\\-\\\-+g" \
-e "s+|-|+|\\\-|+g" \ -e "s+|-|+|\\\-|+g" \
-e "s+|-\\\-+\\\-\\\-+g" \
-e "s+ -\"+ \\\-\"+g" \ -e "s+ -\"+ \\\-\"+g" \
-e "s+'--'+'\\\-\\\-'+g" \ -e "s+'--'+'\\\-\\\-'+g" \
-e "s+^--+\\\-\\\-+g" \ -e "s+^--+\\\-\\\-+g" \