Commit b25e6b51 authored by Michał Kępień's avatar Michał Kępień

Make a sed script in doc/arm/ portable

BSD sed does not recognize \s as a whitespace matching token.  Make the
sed script in doc/arm/ which ensures GitLab identifiers are
not split across lines portable by replacing \s with [[:space:]].
parent cc62ae9a
Pipeline #34608 canceled with stages
in 50 seconds
......@@ -66,7 +66,7 @@ notes.txt: notes.html
${W3M} -dump -cols 75 -O ascii -T text/html < notes.html | \
sed 's/ *$$//' | \
sed -e :a -e '/^\n*$$/{$$d;N;};/\n$$/ba' | \
sed '/ [!#]$$/{N;s| \([!#]\)\(\n\s*\)\([0-9][0-9]*\)|\2\1\3|;};' > notes.txt
sed '/ [!#]$$/{N;s| \([!#]\)\(\n[[:space:]]*\)\([0-9][0-9]*\)|\2\1\3|;};' > notes.txt
# use xmllint to process include
Bv9ARM.html: Bv9ARM-book.xml ${NOTESXML} releaseinfo.xml pkgversion.xml noteversion.xml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment