Merge remote-tracking branch 'lenormf/fix-3330'
This commit is contained in:
commit
9cc22f2596
|
@ -40,9 +40,11 @@ define-command -params ..1 -docstring %{
|
||||||
sed 's/^/^/' "$kak_opt_spell_tmp_file" | eval "aspell --byte-offsets -a $options" 2>&1 | {
|
sed 's/^/^/' "$kak_opt_spell_tmp_file" | eval "aspell --byte-offsets -a $options" 2>&1 | {
|
||||||
line_num=1
|
line_num=1
|
||||||
regions=$kak_timestamp
|
regions=$kak_timestamp
|
||||||
read line # drop the identification message
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
case "$line" in
|
case "$line" in
|
||||||
|
@\(\#\)*)
|
||||||
|
# drop the identification message
|
||||||
|
;;
|
||||||
[\#\&]*)
|
[\#\&]*)
|
||||||
if expr "$line" : '^&' >/dev/null; then
|
if expr "$line" : '^&' >/dev/null; then
|
||||||
pos=$(printf %s\\n "$line" | cut -d ' ' -f 4 | sed 's/:$//')
|
pos=$(printf %s\\n "$line" | cut -d ' ' -f 4 | sed 's/:$//')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user