mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
conf2doc: Backslashify --help, --enable, --disable to avoid —.
This commit is contained in:
parent
eb7ac943ed
commit
7b931a2de0
@ -73,7 +73,8 @@ cat "$CONFFILE" | while read line; do
|
|||||||
# Ignore
|
# Ignore
|
||||||
;;
|
;;
|
||||||
"#"*)
|
"#"*)
|
||||||
line=$(strip_comment "$line")
|
# Backslashify --help, --enable, --disable to avoid —.
|
||||||
|
line=$(strip_comment "$line" | sed 's/ --\([hed]\)/ \\--\1/')
|
||||||
echo "$line" >> $TMPFILE
|
echo "$line" >> $TMPFILE
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user